# project samba configured on Wed Dec 4 19:39:02 2019 by # waf 2.0.18 (abi 20, python 30800f0 on linux) # using ./buildtools/bin/waf configure --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info _python_sysroot=/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi _python_prefix=/usr _python_exec_prefix=/usr _python_sysroot=/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi _python_prefix=/usr _python_exec_prefix=/usr --hostcc=gcc --cross-compile --cross-answers=cross-answers.txt --disable-cups --disable-iprint --disable-cephfs --disable-fault-handling --disable-glusterfs --enable-fhs --without-automount --without-iconv --without-lttng --without-ntvfs-fileserver --without-pam --without-systemd --without-utmp --without-dmapi --without-fam --without-gettext --without-regedit --without-gpgme --accel-aes=none --with-lockdir=/var/lock --with-logfilebase=/var/log --with-piddir=/var/run --with-privatedir=/etc/samba --enable-avahi --without-winbind --with-static-modules=vfs_default,vfs_posixacl,auth_builtin,auth_sam,auth_unix,auth_script,auth_samba4,pdb_smbpasswd,pdb_tdbsam,pdb_samba_dsdb,pdb_ldapsam,!DEFAULT,!FORCED --with-shared-modules=vfs_default_quota,vfs_acl_xattr,vfs_acl_tdb,vfs_fruit,vfs_shadow_copy2,vfs_recycle,vfs_fake_perms,vfs_readonly,vfs_cap,vfs_offline,vfs_crossrename,vfs_catia,vfs_streams_xattr,vfs_xattr_tdb,vfs_audit,vfs_extd_audit,vfs_full_audit,!DEFAULT,!FORCED # ---------------------------------------- Setting top to /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2 ---------------------------------------- Setting out to /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin ---------------------------------------- Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['arm-openwrt-linux-muslgnueabi-gcc'] ['arm-openwrt-linux-muslgnueabi-gcc', '-dM', '-E', '-'] out: #define __DBL_MIN_EXP__ (-1021) #define __HQ_FBIT__ 15 #define __FLT32X_MAX_EXP__ 1024 #define __UINT_LEAST16_MAX__ 0xffff #define __ARM_SIZEOF_WCHAR_T 4 #define __ATOMIC_ACQUIRE 2 #define __SFRACT_IBIT__ 0 #define __FLT_MIN__ 1.1754943508222875e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UFRACT_MAX__ 0XFFFFP-16UR #define __UINT_LEAST8_TYPE__ unsigned char #define __DQ_FBIT__ 63 #define __INTMAX_C(c) c ## LL #define __ARM_FEATURE_SAT 1 #define __ULFRACT_FBIT__ 32 #define __SACCUM_EPSILON__ 0x1P-7HK #define __CHAR_BIT__ 8 #define __USQ_IBIT__ 0 #define __UINT8_MAX__ 0xff #define __ACCUM_FBIT__ 15 #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __USFRACT_FBIT__ 8 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffU #define __ARM_ARCH_ISA_ARM 1 #define __WCHAR_MAX__ 0xffffffffU #define __LACCUM_IBIT__ 32 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.9406564584124654e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __LLACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LLK #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __FRACT_FBIT__ 15 #define __UINT_FAST64_MAX__ 0xffffffffffffffffULL #define __SIG_ATOMIC_TYPE__ int #define __UACCUM_FBIT__ 16 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __ARMEL__ 1 #define __ARM_FEATURE_UNALIGNED 1 #define __LFRACT_IBIT__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __LFRACT_MAX__ 0X7FFFFFFFP-31LR #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__ 0xffffffffffffffffULL #define __SA_FBIT__ 15 #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.7976931348623157e+308L #define __FRACT_MAX__ 0X7FFFP-15R #define __UFRACT_FBIT__ 16 #define __ARM_FP 12 #define __UFRACT_MIN__ 0.0UR #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __UINTMAX_TYPE__ long long unsigned int #define __LLFRACT_EPSILON__ 0x1P-63LLR #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 __ULFRACT_MAX__ 0XFFFFFFFFP-32ULR #define __TA_IBIT__ 64 #define __LDBL_MAX_EXP__ 1024 #define __WINT_MIN__ 0U #define __linux__ 1 #define __INT_LEAST16_WIDTH__ 16 #define __ULLFRACT_MIN__ 0.0ULLR #define __SCHAR_MAX__ 0x7f #define __WCHAR_MIN__ 0U #define __INT64_C(c) c ## LL #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __LLACCUM_MIN__ (-0X1P31LLK-0X1P31LLK) #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 4 #define __USACCUM_IBIT__ 8 #define __USER_LABEL_PREFIX__ #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LFRACT_MIN__ (-0.5LR-0.5LR) #define __HA_IBIT__ 8 #define __FLT32_DIG__ 6 #define __TQ_IBIT__ 0 #define __FLT_EPSILON__ 1.1920928955078125e-7F #define __APCS_32__ 1 #define __SHRT_WIDTH__ 16 #define __USFRACT_IBIT__ 0 #define __LDBL_MIN__ 2.2250738585072014e-308L #define __STDC_UTF_16__ 1 #define __FRACT_MIN__ (-0.5R-0.5R) #define __DEC32_MAX__ 9.999999E96DF #define __DA_IBIT__ 32 #define __ARM_SIZEOF_MINIMAL_ENUM 4 #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __UQQ_FBIT__ 8 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 4 #define __UACCUM_MAX__ 0XFFFFFFFFP-16UK #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201206L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 32 #define __DECIMAL_DIG__ 17 #define __LFRACT_EPSILON__ 0x1P-31LR #define __FLT64_EPSILON__ 2.2204460492503131e-16F64 #define __ULFRACT_MIN__ 0.0ULR #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __ARM_PCS_VFP 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __ULACCUM_IBIT__ 32 #define __FLT64_MANT_DIG__ 53 #define __UACCUM_EPSILON__ 0x1P-16UK #define __GNUC__ 8 #define __ULLACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULLK #define __HQ_IBIT__ 0 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 8 #define __BIGGEST_ALIGNMENT__ 8 #define __FLT64_MAX_10_EXP__ 308 #define __GNUC_STDC_INLINE__ 1 #define __DQ_IBIT__ 0 #define __DBL_MAX__ ((double)1.7976931348623157e+308L) #define __ULFRACT_IBIT__ 0 #define __INT_FAST32_MAX__ 0x7fffffff #define __DBL_HAS_INFINITY__ 1 #define __ACCUM_IBIT__ 16 #define __DEC32_MIN_EXP__ (-94) #define __THUMB_INTERWORK__ 1 #define __INTPTR_WIDTH__ 32 #define __LACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LK #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ int #define __LDBL_HAS_DENORM__ 1 #define __ARM_FEATURE_LDREX 15 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __ACCUM_MAX__ 0X7FFFFFFFP-15K #define __DBL_MAX_EXP__ 1024 #define __USACCUM_EPSILON__ 0x1P-8UHK #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.4028234663852886e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SFRACT_MAX__ 0X7FP-7HR #define __FRACT_IBIT__ 0 #define __PTRDIFF_MAX__ 0x7fffffff #define __UACCUM_MIN__ 0.0UK #define __UACCUM_IBIT__ 16 #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 4 #define __ULACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULK #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __SA_IBIT__ 16 #define __ULLACCUM_MIN__ 0.0ULLK #define __GXX_ABI_VERSION 1013 #define __UTA_FBIT__ 64 #define __FLT_MIN_EXP__ (-125) #define __USFRACT_MAX__ 0XFFP-8UHR #define __UFRACT_IBIT__ 0 #define __ARM_FEATURE_QBIT 1 #define __INT_FAST64_TYPE__ long long int #define __FLT64_DENORM_MIN__ 4.9406564584124654e-324F64 #define __DBL_MIN__ ((double)2.2250738585072014e-308L) #define __FLT32X_EPSILON__ 2.2204460492503131e-16F32x #define __FLT64_MIN_EXP__ (-1021) #define __LACCUM_MIN__ (-0X1P31LK-0X1P31LK) #define __ULLACCUM_FBIT__ 32 #define __GXX_TYPEINFO_EQUALITY_INLINE 0 #define __FLT64_MIN_10_EXP__ (-307) #define __ULLFRACT_EPSILON__ 0x1P-64ULLR #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __ACCUM_MIN__ (-0X1P15K-0X1P15K) #define __SQ_IBIT__ 0 #define __FLT32_MIN__ 1.1754943508222875e-38F32 #define __UINT8_TYPE__ unsigned char #define __UHA_FBIT__ 8 #define __NO_INLINE__ 1 #define __SFRACT_MIN__ (-0.5HR-0.5HR) #define __UTQ_FBIT__ 128 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 17 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## ULL #define __ULLFRACT_FBIT__ 64 #define __FRACT_EPSILON__ 0x1P-15R #define __ULACCUM_MIN__ 0.0ULK #define _STDC_PREDEF_H #define __UDA_FBIT__ 32 #define __LLACCUM_EPSILON__ 0x1P-31LLK #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __USFRACT_MIN__ 0.0UHR #define __UQQ_IBIT__ 0 #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 __UHQ_FBIT__ 16 #define __LLACCUM_FBIT__ 31 #define __FLT32_MAX_10_EXP__ 38 #define __INT_FAST32_TYPE__ int #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ unsigned int #define __UINT64_MAX__ 0xffffffffffffffffULL #define __UDQ_FBIT__ 64 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __ULFRACT_EPSILON__ 0x1P-32ULR #define __LLFRACT_FBIT__ 63 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __ARM_ARCH_PROFILE 65 #define __LDBL_EPSILON__ 2.2204460492503131e-16L #define __UINTMAX_C(c) c ## ULL #define __SACCUM_MAX__ 0X7FFFP-7HK #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __VFP_FP__ 1 #define __SIZEOF_PTRDIFF_T__ 4 #define __FLT32X_MANT_DIG__ 53 #define __LACCUM_EPSILON__ 0x1P-31LK #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffff #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffU #define __UINT_LEAST64_TYPE__ long long unsigned int #define __USACCUM_MAX__ 0XFFFFP-8UHK #define __SFRACT_EPSILON__ 0x1P-7HR #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffL #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __unix 1 #define __USA_FBIT__ 16 #define __UINT_FAST16_TYPE__ unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __ARM_32BIT_STATE 1 #define __INT_FAST32_WIDTH__ 32 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 32 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffLL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SACCUM_FBIT__ 7 #define __FLT32_DENORM_MIN__ 1.4012984643248171e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long long int #define __ARM_FEATURE_CLZ 1 #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __SQ_FBIT__ 31 #define __DEC32_MAX_EXP__ 97 #define __ARM_ARCH_ISA_THUMB 2 #define __INT_FAST8_MAX__ 0x7f #define __ARM_ARCH 7 #define __INTPTR_MAX__ 0x7fffffff #define __QQ_FBIT__ 7 #define linux 1 #define __UTA_IBIT__ 64 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 53 #define __SFRACT_FBIT__ 7 #define __SACCUM_MIN__ (-0X1P7HK-0X1P7HK) #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __INTPTR_TYPE__ int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ unsigned int #define __SIZEOF_FLOAT__ 4 #define __USQ_FBIT__ 32 #define __UINTPTR_MAX__ 0xffffffffU #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __ULLACCUM_IBIT__ 32 #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffLL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __UINT_FAST64_TYPE__ long long unsigned int #define __INT_MAX__ 0x7fffffff #define __LACCUM_FBIT__ 31 #define __USACCUM_MIN__ 0.0UHK #define __UHA_IBIT__ 8 #define __INT64_TYPE__ long long int #define __FLT_MAX_EXP__ 128 #define __UTQ_IBIT__ 0 #define __DBL_MANT_DIG__ 53 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __ULLFRACT_IBIT__ 0 #define __LDBL_MIN_EXP__ (-1021) #define __arm__ 1 #define __FLT64_MAX__ 1.7976931348623157e+308F64 #define __UDA_IBIT__ 32 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __LFRACT_FBIT__ 31 #define __ARM_ARCH_7A__ 1 #define __LDBL_MAX_10_EXP__ 308 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.2204460492503131e-16L) #define __ARM_FEATURE_SIMD32 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 long unsigned int #define __LLFRACT_MAX__ 0X7FFFFFFFFFFFFFFFP-63LLR #define __TQ_FBIT__ 127 #define __INT_FAST8_TYPE__ signed char #define __ULLACCUM_EPSILON__ 0x1P-32ULLK #define __UHQ_IBIT__ 0 #define __ARM_FEATURE_COPROC 15 #define __LLACCUM_IBIT__ 32 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.1920928955078125e-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.7976931348623157e+308F32x #define __TA_FBIT__ 63 #define __UDQ_IBIT__ 0 #define __ORDER_BIG_ENDIAN__ 4321 #define __ACCUM_EPSILON__ 0x1P-15K #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffLL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.4012984643248171e-45F #define __LLFRACT_IBIT__ 0 #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 32 #define __UINT_FAST32_TYPE__ unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.4028234663852886e+38F #define __USACCUM_FBIT__ 8 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __UFRACT_EPSILON__ 0x1P-16UR #define __FLT64_MIN__ 2.2250738585072014e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __INT_FAST16_WIDTH__ 32 #define __UINTMAX_MAX__ 0xffffffffffffffffULL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.9406564584124654e-324F32x #define __HA_FBIT__ 7 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ int #define __LLFRACT_MIN__ (-0.5LLR-0.5LLR) #define __ATOMIC_SEQ_CST 5 #define __DA_FBIT__ 31 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ unsigned int #define __USA_IBIT__ 16 #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __ARM_EABI__ 1 #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-307) #define __SIZEOF_LONG_LONG__ 8 #define __ULACCUM_EPSILON__ 0x1P-32ULK #define __SACCUM_IBIT__ 8 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.2250738585072014e-308F32x #define __LDBL_DIG__ 15 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffU #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __ULLFRACT_MAX__ 0XFFFFFFFFFFFFFFFFP-64ULLR #define __UINT_FAST8_TYPE__ unsigned char #define __USFRACT_EPSILON__ 0x1P-8UHR #define __ULACCUM_FBIT__ 32 #define __ARM_FEATURE_DSP 1 #define __QQ_IBIT__ 0 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 find program=['ar'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='AR' -> ['arm-openwrt-linux-muslgnueabi-gcc-ar'] arm-openwrt-linux-muslgnueabi-gcc ---------------------------------------- Checking for program 'git' /root/openwrt/staging_dir/host/bin/git find program=['git'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='GIT' -> ['/root/openwrt/staging_dir/host/bin/git'] ---------------------------------------- Checking for c flags '-MMD' ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" int main() { return 0; } <== [1/1] Compiling bin/.conf_check_deb07616adf8db0dc8cb4c8352fd2d26/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_deb07616adf8db0dc8cb4c8352fd2d26/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking for program 'gdb' not found find program=['gdb'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='GDB' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Could not find the program ['gdb'] ---------------------------------------- Checking for header sys/utsname.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_089e54877662c7cfb96079396ffaec7d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_089e54877662c7cfb96079396ffaec7d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking uname sysname type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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_3321a99fcb5293a5b4b02687b1954620/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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_6f673e05d232e5602341c7278a331177/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname machine type'] out: arm arm ---------------------------------------- Checking uname release type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #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_31772d1650fd7a7c1d6e07fca2c0a978/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname release type'] out: 4.19.86 4.19.86 ---------------------------------------- Checking uname version type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #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_405be4423eb90edeac2733dca84ab585/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname version type'] out: OpenWrt Linux-4.19.86 2019-12-04 OpenWrt Linux-4.19.86 2019-12-04 ---------------------------------------- Checking for header stdio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_377b595068b07e308ead5d42b7e824ab/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_377b595068b07e308ead5d42b7e824ab/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking simple C program ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #include int main(void) { printf("hello world"); return 0; } <== [1/3] Compiling bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking simple C program'] out: hello world ok ---------------------------------------- Checking compiler accepts ['-Werror'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bb8992d6a31ec28c7f7f8f58d3e2855e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bb8992d6a31ec28c7f7f8f58d3e2855e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking linker accepts ['-Wl,-rpath,.'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,-rpath,.'] yes ---------------------------------------- Checking for rpath library support [1/5] Compiling bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/libdir/liblc1.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/libdir/liblc1.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/5] Compiling bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/main.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../main.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/main.c.2.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [3/5] Linking bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/liblib1.so ['arm-openwrt-linux-muslgnueabi-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1 ['arm-openwrt-linux-muslgnueabi-gcc', 'main.c.2.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1', '-Wl,-rpath,/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default', '-llib1', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [5/5] Processing bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1 ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'rpath library support'] yes ----------------------------------------- Checking for -Wl,--version-script support [1/5] Compiling bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/libdir/liblc1.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/libdir/liblc1.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/5] Compiling bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/main.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../main.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/main.c.2.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [3/5] Linking bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/liblib1.so ['arm-openwrt-linux-muslgnueabi-gcc', '-Wl,--version-script=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1 ['arm-openwrt-linux-muslgnueabi-gcc', 'main.c.2.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1', '-Wl,-rpath,/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default', '-llib1', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [5/5] Processing bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1 ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_80fa2d04883f4cc174ae8772deac1257/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_80fa2d04883f4cc174ae8772deac1257/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ------------------------------------------------- Checking for HAVE_VISIBILITY_ATTR ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #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_a9f2ea9550ab37cc4099cc621e7c19cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fvisibility=hidden', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for library constructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #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_93db12fb7f784ce514f6c903ba4fd562/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for library destructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #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_4345ca931558dcef84612251bc580eeb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for __attribute__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_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_4fcb53ce777c6570e251da2d07a1f41a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking compiler accepts ['-fPIC'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define 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_f31d3647beab5751ea5396633b9bef8e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f31d3647beab5751ea5396633b9bef8e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ------------------------------------------------- Checking for inline ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define 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_97fcad068833ed1d36d83587a644d3ec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_97fcad068833ed1d36d83587a644d3ec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] inline ------------------------------------------------- Checking for program 'pkg-config' /root/openwrt/staging_dir/host/bin/pkg-config find program=['pkg-config'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PKGCONFIG' -> ['/root/openwrt/staging_dir/host/bin/pkg-config'] ------------------------------------------------- Checking for pkg-config version >= '0.0.0' ['/root/openwrt/staging_dir/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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_5308e61ad53f5c876593402ccc751b5d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-D__STDC_WANT_LIB_EXT1__=1', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5308e61ad53f5c876593402ccc751b5d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking compiler accepts [''] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_ec4cfb7d99f1f7e32b78014ad72acfac/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ec4cfb7d99f1f7e32b78014ad72acfac/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_37bd5314e20c313905f0e3321b7df5c4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37bd5314e20c313905f0e3321b7df5c4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 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_6ac1f3ffb772230c12aee5d5d61545db/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6ac1f3ffb772230c12aee5d5d61545db/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define 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_5419a95a00232ad0f9ccf3193b3e1864/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5419a95a00232ad0f9ccf3193b3e1864/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stddef.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_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_fba291cb1f45e1c85723887522d09930/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fba291cb1f45e1c85723887522d09930/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header memory.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_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_222766eb77c8519a44c4d8f1de7c4053/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_222766eb77c8519a44c4d8f1de7c4053/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header string.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_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_c69828b900dcd0790e3544653dfd03cf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c69828b900dcd0790e3544653dfd03cf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header strings.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_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_df540033b3844090b805dfa6e2ce48e1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df540033b3844090b805dfa6e2ce48e1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header inttypes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define 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_598de1713e831c08e451f1fa54c52b24/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_598de1713e831c08e451f1fa54c52b24/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdint.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define 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_03bea3a8f349a5365762f435ef6382ed/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_03bea3a8f349a5365762f435ef6382ed/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define 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_b4f228a24fc51c346ed7e247c7099c48/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b4f228a24fc51c346ed7e247c7099c48/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_8b56f6a6c919ead9e2d9b9a48ca4b512/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b56f6a6c919ead9e2d9b9a48ca4b512/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:41:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_c15d28819608c62a9510f187a47a1c3b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c15d28819608c62a9510f187a47a1c3b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header standards.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_bdf3c481c0ec754be9b4ddea9ac7b0e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bdf3c481c0ec754be9b4ddea9ac7b0e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:43:10: fatal error: standards.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_1dc7828205f0c1ad43153da94046be14/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1dc7828205f0c1ad43153da94046be14/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdarg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define 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_e1c73abbb6aa3eafdbd5ecec0c00f314/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e1c73abbb6aa3eafdbd5ecec0c00f314/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header vararg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_f63d835ac0308b62bb6f2b3050183fd7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f63d835ac0308b62bb6f2b3050183fd7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:47:10: fatal error: vararg.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_2c05120423be875fb3d584d884b3f917/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2c05120423be875fb3d584d884b3f917/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header assert.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define 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_9f1bf6cb68a0f059c4cac710b302349c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f1bf6cb68a0f059c4cac710b302349c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define 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_84241ca33a41c77282ebec0b981f8fe4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 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_2aaa9920ed1640299c861a206469b2d6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2aaa9920ed1640299c861a206469b2d6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #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_ab39c9f8aa905e5cb64a089866b5d29e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab39c9f8aa905e5cb64a089866b5d29e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header endian.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #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_0f2649ef11ad5dca7ec676fc8b0f086a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0f2649ef11ad5dca7ec676fc8b0f086a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_136e388231afca892efefd5ebf050fa7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_136e388231afca892efefd5ebf050fa7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:56:10: fatal error: sys/endian.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_5aba5c0a40e63fa114d4d5ea600120e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for HAVE_BIG_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #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_775bb35990a465ad326134b680143935/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_775bb35990a465ad326134b680143935/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:72:26: error: #error Not big endian. #error Not big endian. ^~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 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_76b1ac24847465d534dec9ab4d2d4aa2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_76b1ac24847465d534dec9ab4d2d4aa2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_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_f078547f1db0c17f2930aa37ef9f08a0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f078547f1db0c17f2930aa37ef9f08a0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define 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_5172b27ccb9532898fed0e7099e9de19/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5172b27ccb9532898fed0e7099e9de19/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for va_copy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define 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_272484287f743d06d3be2b1ebed5e177/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef 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_400a69de83690949fdd8bdebc0ed29cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:66:29: warning: too many arguments for format [-Wformat-extra-args] eprintf("bla", "bar") ^~~~~ ../../test.c:65:58: note: in definition of macro 'eprintf' #define eprintf(...) fprintf(stderr, __VA_ARGS__) ^~~~~~~~~~~ [2/2] Linking bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define 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_36903bbb66d96d22f6a38db6e7ffd390/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_36903bbb66d96d22f6a38db6e7ffd390/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header crypt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_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_c5f8cf916a70cc9c0cc8f6f05b41f5bf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c5f8cf916a70cc9c0cc8f6f05b41f5bf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header locale.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__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_ab5bb7191eb992b540cf19c952e5d06a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab5bb7191eb992b540cf19c952e5d06a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define 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_6a04d55cb6459c45a0ec66e2ff32e908/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6a04d55cb6459c45a0ec66e2ff32e908/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header compat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f8c9ea216cca57cabd37d29886c81df6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f8c9ea216cca57cabd37d29886c81df6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: compat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4e61950b9390a71de3590327b6ba5ecb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4e61950b9390a71de3590327b6ba5ecb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: attr/xattr.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_08adc8a7aea6e7c638d4f01631be364b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08adc8a7aea6e7c638d4f01631be364b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: dustat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fe609404df8845bbd9a213180a99fec4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fe609404df8845bbd9a213180a99fec4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header fnmatch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7f1962a6d86fc32497ac7b8353805022/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7f1962a6d86fc32497ac7b8353805022/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header glob.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0f90b79319a9f4e2e4ffd25b03f210ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0f90b79319a9f4e2e4ffd25b03f210ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header history.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3fc8646f02c129ec85aa01c416d5f377/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3fc8646f02c129ec85aa01c416d5f377/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:73:10: fatal error: history.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5e155cdfdbce789fca52ef1416f01158/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5e155cdfdbce789fca52ef1416f01158/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:73:10: fatal error: krb5.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a9ab6e1907fe94cae8ff02f12eadf8b6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9ab6e1907fe94cae8ff02f12eadf8b6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header libaio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c45d3c9387771d0d5224b6d704aa6e1b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c45d3c9387771d0d5224b6d704aa6e1b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:74:10: fatal error: libaio.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_28bb5ed4ff5c8ae0a4a16676be28c2d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_28bb5ed4ff5c8ae0a4a16676be28c2d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:74:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_63926e5b6055569a23f2ba40803d3b14/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63926e5b6055569a23f2ba40803d3b14/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header shadow.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_633942d5b81f4cd75535748d222f97f6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_633942d5b81f4cd75535748d222f97f6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a62acb184f7dccc719c89e048ec24dc7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a62acb184f7dccc719c89e048ec24dc7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1a090117cc6c692549d26d9dfb747367/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a090117cc6c692549d26d9dfb747367/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:77:10: fatal error: sys/attributes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_aa1302f8f7a6f71dbc41173595a48107/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_aa1302f8f7a6f71dbc41173595a48107/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_06d1163ea3d4104766d88a51e3b664cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_06d1163ea3d4104766d88a51e3b664cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_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_bf14ab5a1fa7e788bc28b51c1660cde4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bf14ab5a1fa7e788bc28b51c1660cde4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_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_5c9454ef3eb03bba90dbcfb9d4ed9991/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5c9454ef3eb03bba90dbcfb9d4ed9991/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header port.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #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_612318a96e9bb78b12647e9010bf143b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_612318a96e9bb78b12647e9010bf143b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:81:10: fatal error: port.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #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_64cc300a741197edceb9e69ce1a88152/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_64cc300a741197edceb9e69ce1a88152/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from ../../test.c:81: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_0fd26553a77507695997bd0ba1c1720e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0fd26553a77507695997bd0ba1c1720e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_a3b9a38d539f3f821b301d77895a3c42/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a3b9a38d539f3f821b301d77895a3c42/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/filsys.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_7aa4fcce174a3d371502e7fe0fbe3647/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7aa4fcce174a3d371502e7fe0fbe3647/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/fs/s5param.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_cdc14a64e3d0da8d8db1344cc43ff30d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cdc14a64e3d0da8d8db1344cc43ff30d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/id.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_77471be96153124d47346b113049d6b5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_77471be96153124d47346b113049d6b5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #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_8a59a39231d85e8be759293ba0314569/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8a59a39231d85e8be759293ba0314569/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #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_14b1af127e466c09e054693e7ffa4892/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_14b1af127e466c09e054693e7ffa4892/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_9332cb418e3420739bb376e35b4a24fc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9332cb418e3420739bb376e35b4a24fc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/mode.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_235e469d931c20e741c08b7594eb32a4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_235e469d931c20e741c08b7594eb32a4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_08b403ac0e6cb4029bceac20e2b6f635/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08b403ac0e6cb4029bceac20e2b6f635/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/priv.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_e8cf3d2a1ee7a877c9c58b890dc57de3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e8cf3d2a1ee7a877c9c58b890dc57de3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_43119ce459f8a220354d3954eacf71a2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_43119ce459f8a220354d3954eacf71a2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:86:10: fatal error: sys/security.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_0236522e5a88f759782becee9407ba4e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0236522e5a88f759782becee9407ba4e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #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_56cdc91fc08bdc60cd6690aa73d8750c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_56cdc91fc08bdc60cd6690aa73d8750c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #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_0984dd154038829f3f05f4a8a3993997/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0984dd154038829f3f05f4a8a3993997/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_8707c5f342b4dbd6e1591eea7911c4d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8707c5f342b4dbd6e1591eea7911c4d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:89:10: fatal error: sys/termio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_f4a0828ed16c80d7b48595445e061f65/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4a0828ed16c80d7b48595445e061f65/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #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_8de29a6a165908ee13093e7e078c9930/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8de29a6a165908ee13093e7e078c9930/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header termio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #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_e6bb5f34ae30100b859e30dd7c97bd2d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6bb5f34ae30100b859e30dd7c97bd2d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:91:10: fatal error: termio.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header termios.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #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_cbbe53e0a676ddaf2a3ceeab3e37b0e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cbbe53e0a676ddaf2a3ceeab3e37b0e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_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_56309838518ee4c3b81223ce94f47714/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_56309838518ee4c3b81223ce94f47714/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_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_354793569e65dd6f8de9965657b2c26b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_354793569e65dd6f8de9965657b2c26b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_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_83a2558d45c5ee7eb0b88c0ae06eb3c5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_83a2558d45c5ee7eb0b88c0ae06eb3c5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for declaration of malloc ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 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_e87514eb5e58727b8c266497f84b14c5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e87514eb5e58727b8c266497f84b14c5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for header grp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 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_905d01d1934541fafa49f791c9357aef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_905d01d1934541fafa49f791c9357aef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_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_5152237add1eb866140d59424a50de40/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5152237add1eb866140d59424a50de40/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header setjmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_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_8b7e232600fabd11f1e0c6a028258831/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b7e232600fabd11f1e0c6a028258831/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utime.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_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_9c635590f553f1fee0f402939a680614/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c635590f553f1fee0f402939a680614/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_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_468e63fe0ca31f65120ea22f2146d30c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_468e63fe0ca31f65120ea22f2146d30c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header syslog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_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_e6d2ca5af85bd8291ec12a6bc074198e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6d2ca5af85bd8291ec12a6bc074198e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_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_0d7bd5f28baae6153e87d592250149ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0d7bd5f28baae6153e87d592250149ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header mntent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_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_fc0a880b126b368de267a5e2c7e95646/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fc0a880b126b368de267a5e2c7e95646/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stropts.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_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_861c55fcd46a2096798a43e8c7565420/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_861c55fcd46a2096798a43e8c7565420/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header unix.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_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_7c0fd2e5115ed64351fce96c4a78a76a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7c0fd2e5115ed64351fce96c4a78a76a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:105:10: fatal error: unix.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_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_9c548aa90eb4d85a18201dccbdfd54d7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c548aa90eb4d85a18201dccbdfd54d7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_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_87d5a0e504f4f857af7a821dd37ad3e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_87d5a0e504f4f857af7a821dd37ad3e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_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_1904d33a6d10969925523edac116d5e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1904d33a6d10969925523edac116d5e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netdb.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 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_4d4e1a52ec6bab61010424dd93fc9988/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4d4e1a52ec6bab61010424dd93fc9988/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 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_b73b410664bb4a4873d66c2016c2f0f1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b73b410664bb4a4873d66c2016c2f0f1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 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_5635744616d461f682ac44b37e6b4ce4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5635744616d461f682ac44b37e6b4ce4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #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_8e97122854f86512edf84c69c680f8ea/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8e97122854f86512edf84c69c680f8ea/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #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_d3a8636d796652960bc669c0edb03f7b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d3a8636d796652960bc669c0edb03f7b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_b7f25a75aa7e6a8959f60021f0a4f964/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b7f25a75aa7e6a8959f60021f0a4f964/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: netinet/in_ip.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_e4a000549b9b574be98de091dc42bd17/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e4a000549b9b574be98de091dc42bd17/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_b318ff0a2da8f0b8f5684d484ecd2c9f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b318ff0a2da8f0b8f5684d484ecd2c9f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define 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_74295ac2eacd0b749e22142884457cf7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_74295ac2eacd0b749e22142884457cf7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header ifaddrs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #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_eb2f4fe8df93dfafa96fe557bf5b77a3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb2f4fe8df93dfafa96fe557bf5b77a3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header direct.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_9807f9223dbf1e07c169244020c090cf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9807f9223dbf1e07c169244020c090cf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:116:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_f1859aeb20105d9ba6a926ee19c31b6c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f1859aeb20105d9ba6a926ee19c31b6c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header windows.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_37e233c8e109c604912367bece9b47b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37e233c8e109c604912367bece9b47b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_4b8226015dfdc8db7e01217ba80d527c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b8226015dfdc8db7e01217ba80d527c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_79c60059cc3cd17f5f334b4ad9e9b940/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79c60059cc3cd17f5f334b4ad9e9b940/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_1baa28b903461ff256a576878b0c0183/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1baa28b903461ff256a576878b0c0183/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header getopt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_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_2a04a5a1759818b9c20546a360df318b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2a04a5a1759818b9c20546a360df318b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header iconv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_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_21f4c37e2589e0aeaf87afa9c49811af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_21f4c37e2589e0aeaf87afa9c49811af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header nss.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define 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_05e9ef9c4cdebd68ae7a45d6d635da62/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_05e9ef9c4cdebd68ae7a45d6d635da62/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: nss.h: No such file or directory #include ^~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sasl/sasl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define 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_dfc389d89694f32af3673d46843edb01/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dfc389d89694f32af3673d46843edb01/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for inotify_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ddef3835034a8cc52d150ce2c2786095/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ddef3835034a8cc52d150ce2c2786095/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_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_1b2385f5b306855f99c946b60f86043d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_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_1ec5e0c4e6385ac00fe6c0032f412f41/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ec5e0c4e6385ac00fe6c0032f412f41/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:123:10: fatal error: security/pam_appl.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header zlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_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_c54f440b7acd454f4778d20ea3942c91/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c54f440b7acd454f4778d20ea3942c91/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b0e16c4dbf3fb4ef7402e9571c482dbe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b0e16c4dbf3fb4ef7402e9571c482dbe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header aio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ad6e290b4f5505c2d941d4b8c811c4ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ad6e290b4f5505c2d941d4b8c811c4ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 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_1ab30504fc3aa7498c10dd44db4be155/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ab30504fc3aa7498c10dd44db4be155/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:126:10: fatal error: sys/unistd.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header alloca.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 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_30f94dcbdbea958b77d6d91c3018f7d0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_30f94dcbdbea958b77d6d91c3018f7d0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header float.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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_079c32d5bc4dcb3bd286c7c0c69a68b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_079c32d5bc4dcb3bd286c7c0c69a68b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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_243631427a74fb8d5bb9165fc12e101f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_243631427a74fb8d5bb9165fc12e101f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:128:10: fatal error: rpc/rpc.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpc/nettype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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_969617bcd884932990dba32b23149a07/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_969617bcd884932990dba32b23149a07/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:128:10: fatal error: rpc/nettype.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_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 int main(void) { #ifndef _TIRPC_RPC_H #error "no tirpc headers in system path" #endif ; return 0; } <== [1/2] Compiling bin/.conf_check_3be6d0c55acbdd5267ca200909e8a6b1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3be6d0c55acbdd5267ca200909e8a6b1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:131:2: error: #error "no tirpc headers in system path" #error "no tirpc headers in system path" ^~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for libtirpc headers ['/root/openwrt/staging_dir/host/bin/pkg-config', '--cflags', '--libs', 'libtirpc'] out: -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib -ltirpc yes -------------------------------------------------------- Checking for header rpc/rpc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_07cd8a13243f99a27ea823e2a2454712/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_07cd8a13243f99a27ea823e2a2454712/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_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_61650e9785deb926485c64046dffdbc0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_61650e9785deb926485c64046dffdbc0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header rpcsvc/yp_prot.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_002a8ced3f67ae95f016d590b3aa2094/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_002a8ced3f67ae95f016d590b3aa2094/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/yp_prot.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for libnsl ['/root/openwrt/staging_dir/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 No package 'libnsl' found not found from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2fc4512d101b5a46da10894d385244e8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2fc4512d101b5a46da10894d385244e8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/nis.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b1b5498e0131d96ec5992c872d88885c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b1b5498e0131d96ec5992c872d88885c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/ypclnt.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b03b1dc0b9c468b11f1f57a1697b0532/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b03b1dc0b9c468b11f1f57a1697b0532/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/sysctl.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fileio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f555e4354dc39ca29763705b32d8c8e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f555e4354dc39ca29763705b32d8c8e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/fileio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e388e1476021e455eeb73c310aaf25ae/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e388e1476021e455eeb73c310aaf25ae/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/filesys.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d9c670a3a99e84e3a2a6f809599e1abf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d9c670a3a99e84e3a2a6f809599e1abf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/dustat.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_16b2aa5230ffc5b94f148456d549cb75/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_16b2aa5230ffc5b94f148456d549cb75/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_13dec2ed8f22f4f15df53821128a17b9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_13dec2ed8f22f4f15df53821128a17b9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: xfs/libxfs.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_9083d7890b4251a362c653c5d1ae96fa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9083d7890b4251a362c653c5d1ae96fa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: netgroup.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_32d0d9fd0a6d248d2e8dcbbbe48213b1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_32d0d9fd0a6d248d2e8dcbbbe48213b1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_c89a72a4b7a0123700d93ef593c1dcb4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c89a72a4b7a0123700d93ef593c1dcb4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_4cbb0fec3fa7a211eb614256dde66011/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4cbb0fec3fa7a211eb614256dde66011/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/memcheck.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_0c79cb8ff567d8ce504b7ecca6127017/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0c79cb8ff567d8ce504b7ecca6127017/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/helgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_eb4b4fd10d1bbf8befea470b796dae58/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb4b4fd10d1bbf8befea470b796dae58/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: nss_common.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_2452ad0c186a3377cae49f5b20724414/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2452ad0c186a3377cae49f5b20724414/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: nsswitch.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_f19e9fc995b31dde56722868180ada28/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f19e9fc995b31dde56722868180ada28/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: ns_api.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_afcfafd749006cd626818ca1c83fd2e5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_afcfafd749006cd626818ca1c83fd2e5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/extattr.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_d3fe31f397fed08d3fee6474dd7e6c36/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d3fe31f397fed08d3fee6474dd7e6c36/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/ea.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_63c54f4b17289bcc39144f05cbc0dfdd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63c54f4b17289bcc39144f05cbc0dfdd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/proplist.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_2d962b75eef5e8e2dbcce7606e26bfbb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2d962b75eef5e8e2dbcce7606e26bfbb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_f3c07c1a0c4c1bb0ffe8b4de258f39af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f3c07c1a0c4c1bb0ffe8b4de258f39af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utmpx.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_c539dfca2b65fd204656dc3b730725f2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c539dfca2b65fd204656dc3b730725f2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header lastlog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_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_44a7380383591929647e5831f90930e7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_44a7380383591929647e5831f90930e7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header syscall.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_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_f7b1ed00e8eaa70c15225b8c2fc7fded/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f7b1ed00e8eaa70c15225b8c2fc7fded/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_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_95275f4f77c34124d421c8115d5b1f63/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_95275f4f77c34124d421c8115d5b1f63/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_ea64eb40efc4b43ec7c9444e9239a2ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea64eb40efc4b43ec7c9444e9239a2ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:139:10: fatal error: sys/atomic.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_8bad81684e32018ae6ceeeabe050fb47/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8bad81684e32018ae6ceeeabe050fb47/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header libgen.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_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_bc7df4d2a4654aec4c8ca50ee4d29131/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bc7df4d2a4654aec4c8ca50ee4d29131/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_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_65393c56bf0410099cd7dd71bf2b39a3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_65393c56bf0410099cd7dd71bf2b39a3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_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_0e71b310fc0b3709e17f90f859f38ebc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e71b310fc0b3709e17f90f859f38ebc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_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_433a1dcad9ad6dbdf388295d51751be6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_433a1dcad9ad6dbdf388295d51751be6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 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_11eb62868ada6b7bf1ac92118347a091/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_11eb62868ada6b7bf1ac92118347a091/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for prctl syscall ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #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_701c5fd4d84ff980ad7b35094ff9a4c4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_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_632294c1a5d634db74b6e134e97406af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for long long ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_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_3e24cc6162f69c0e244d92b2bb6725ad/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3e24cc6162f69c0e244d92b2bb6725ad/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for intptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_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_f861d42303d5864ddf6520c719a31492/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f861d42303d5864ddf6520c719a31492/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uintptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_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_77afe9a41c4fd6603dc928782826c8aa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_77afe9a41c4fd6603dc928782826c8aa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ptrdiff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define 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_1bbb0d22f40c98d9ebfafddaad724d2f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1bbb0d22f40c98d9ebfafddaad724d2f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for comparison_fn_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_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_9f854b18c653738fcd74fe0c70559929/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f854b18c653738fcd74fe0c70559929/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:152:19: error: unknown type name 'comparison_fn_t' int main(void) { comparison_fn_t _x; return 0; } ^~~~~~~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for _Bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_9f1985939556cce89229b6d825462996/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f1985939556cce89229b6d825462996/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_a79f1908985a902c3b80a156cfc743bb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a79f1908985a902c3b80a156cfc743bb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_607b676ce6b7e178fe81af519b1c7323/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_607b676ce6b7e178fe81af519b1c7323/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_53704e8ab94ff5dc338e31182b1e3c39/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_53704e8ab94ff5dc338e31182b1e3c39/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_7e39458f2af4932753851a5be82f5b08/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e39458f2af4932753851a5be82f5b08/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #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_0fabf2c0a0f95d1287dbd87fec87285f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0fabf2c0a0f95d1287dbd87fec87285f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #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_f01cd5a1d269dd8a2775e6b4f43537d6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f01cd5a1d269dd8a2775e6b4f43537d6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define 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_5fa50de5e9db7ca576a7c2f679a9d932/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5fa50de5e9db7ca576a7c2f679a9d932/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define 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_eb9790d33f0e815129e7051ad74b4ba8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb9790d33f0e815129e7051ad74b4ba8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define 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_7e7efc3afac58d12ef9e7bf98202e6fd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e7efc3afac58d12ef9e7bf98202e6fd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for size_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define 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_cfdfaef4614affbe35a8ed7ea495291b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cfdfaef4614affbe35a8ed7ea495291b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ssize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define 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_c01e4f8142ab0c3616c55c1dbc5c6242/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c01e4f8142ab0c3616c55c1dbc5c6242/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ino_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define 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_8cf4dc141e5fb8ff366ca920e02d702e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8cf4dc141e5fb8ff366ca920e02d702e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for loff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define 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_1a857528a5dbe408dee27132547202fc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a857528a5dbe408dee27132547202fc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:166:19: error: unknown type name 'loff_t'; did you mean 'off_t'? int main(void) { loff_t _x; return 0; } ^~~~~~ off_t from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for offset_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t #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_3a0f967a3247a4960a8713bdcc26490c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3a0f967a3247a4960a8713bdcc26490c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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_b6a3aabb1a309a6de41c783498c970e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b6a3aabb1a309a6de41c783498c970e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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_29052530519248c016bf46dfb0c602ba/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_29052530519248c016bf46dfb0c602ba/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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_45835d415f8a1dfab41b0b796b857b25/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_45835d415f8a1dfab41b0b796b857b25/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for blkcnt_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_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_dfc207bb0ed47e3e1ec5b5d4f2fe3cd4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dfc207bb0ed47e3e1ec5b5d4f2fe3cd4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_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_328755bf50b3bed9c9ecca43be9c818a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 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_49635c7cb42215b048bd74a8b11702cd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_6f60f8aa8b036cb98e80f43926596976/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f60f8aa8b036cb98e80f43926596976/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_63342a70da6e68a21a7cd555b9a88b95/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63342a70da6e68a21a7cd555b9a88b95/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_7376d19cd3464ffc27bca201d7019cbe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_f311f1e118385c68e2843296ff59073f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f311f1e118385c68e2843296ff59073f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_b26271bb8c84864b43e0f15671e95ea6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b26271bb8c84864b43e0f15671e95ea6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_94362d2c6a4d20942786c8b0bb199b85/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_94362d2c6a4d20942786c8b0bb199b85/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_786ff2352ca0464db4beffd464de3878/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_f6c7becc1565dc8648fb1dbf4852f6b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f6c7becc1565dc8648fb1dbf4852f6b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_8240fb95c464033d77aeae4c361aec82/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8240fb95c464033d77aeae4c361aec82/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_f2932781fd33a20b7495a06237622213/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 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(short))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_b45043cd3dd1ab2f2a3f0a613a36017c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b45043cd3dd1ab2f2a3f0a613a36017c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 /* #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_045ce1ff4dcda7bcdce43ff00cc34a23/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #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_c9a6023cd3536ca00146d41d3748a5c8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c9a6023cd3536ca00146d41d3748a5c8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #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_a238aa3e6fb98535caec1eb74ce3ee97/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a238aa3e6fb98535caec1eb74ce3ee97/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #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_0e699080301616d12320ab66d3cef1ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_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(ssize_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_600c3f9bd91bf03ee77b88f880a94300/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_600c3f9bd91bf03ee77b88f880a94300/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 /* #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_4f0792204776a6eb5a2c6f7e7f19d568/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4f0792204776a6eb5a2c6f7e7f19d568/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 /* #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_fab6c72fe6d9bdbb6f2604c7594b7af4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fab6c72fe6d9bdbb6f2604c7594b7af4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_fab6c72fe6d9bdbb6f2604c7594b7af4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fab6c72fe6d9bdbb6f2604c7594b7af4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_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(int8_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_ea296b7388e31d2a351ee058a4148552/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea296b7388e31d2a351ee058a4148552/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ea296b7388e31d2a351ee058a4148552/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea296b7388e31d2a351ee058a4148552/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_7c799189146b857fe5f7d9b0f3992624/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7c799189146b857fe5f7d9b0f3992624/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_7c799189146b857fe5f7d9b0f3992624/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7c799189146b857fe5f7d9b0f3992624/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_e43911cb1c2a30ad6a73a862f6d243af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e43911cb1c2a30ad6a73a862f6d243af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_017573a49247bc9ceeccbe4c18b0d212/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_017573a49247bc9ceeccbe4c18b0d212/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_017573a49247bc9ceeccbe4c18b0d212/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_017573a49247bc9ceeccbe4c18b0d212/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_d311512889c6414d6fc46c0647c4af41/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d311512889c6414d6fc46c0647c4af41/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_42eca02d21b94c41ebf2085e781ce7b4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_42eca02d21b94c41ebf2085e781ce7b4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_42eca02d21b94c41ebf2085e781ce7b4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_42eca02d21b94c41ebf2085e781ce7b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_1fafc3c6d15240ad3548b89632cd713c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1fafc3c6d15240ad3548b89632cd713c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_9a5ec3f3443e6fe5a28f4e21c83ecc1a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9a5ec3f3443e6fe5a28f4e21c83ecc1a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #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_ed485e3c850463728b3dd86761421fcd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ed485e3c850463728b3dd86761421fcd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ed485e3c850463728b3dd86761421fcd/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ed485e3c850463728b3dd86761421fcd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define 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_9c2d969cdc79d1e0668896c0d8324ece/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c2d969cdc79d1e0668896c0d8324ece/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define 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_c57afdb671386c86af086738b89ce826/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c57afdb671386c86af086738b89ce826/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define 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_f46d5ae8900a7f23f9d7da0d12de5e89/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f46d5ae8900a7f23f9d7da0d12de5e89/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f46d5ae8900a7f23f9d7da0d12de5e89/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f46d5ae8900a7f23f9d7da0d12de5e89/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define 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_9874b4cefe2d6000e01b4e23744bba49/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9874b4cefe2d6000e01b4e23744bba49/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define 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_0471fe1bef9a3fa0125158e41b222aa9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0471fe1bef9a3fa0125158e41b222aa9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define 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_c95d1cff1a3fcbbb079f884a6f5f95d8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c95d1cff1a3fcbbb079f884a6f5f95d8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define 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_ea9ee7002662413e9d6a65e651dc94e1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea9ee7002662413e9d6a65e651dc94e1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ea9ee7002662413e9d6a65e651dc94e1/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea9ee7002662413e9d6a65e651dc94e1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_d125ad495fe371a7a3e4d5f623f7358c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d125ad495fe371a7a3e4d5f623f7358c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_e5c4c301414ff3494555d650e6ef4a73/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e5c4c301414ff3494555d650e6ef4a73/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_6e21eed6cd0ee0f05330de44a0722bbe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6e21eed6cd0ee0f05330de44a0722bbe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_9506dd559937f119f17346be51440027/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9506dd559937f119f17346be51440027/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9506dd559937f119f17346be51440027/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9506dd559937f119f17346be51440027/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_8f16190cb64c81e78d9fc9a2814ab86d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8f16190cb64c81e78d9fc9a2814ab86d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_45d44880de2614c6b7ef5917415ed82c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_45d44880de2614c6b7ef5917415ed82c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_a1da0ae5d214c5d2134ab86fd1adb1e4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a1da0ae5d214c5d2134ab86fd1adb1e4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a1da0ae5d214c5d2134ab86fd1adb1e4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a1da0ae5d214c5d2134ab86fd1adb1e4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 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(off_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_f1e4ee210b58de9b4f7754918d36e1ef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f1e4ee210b58de9b4f7754918d36e1ef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 /* #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_96105b10becb9680d41682269dfcea66/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_96105b10becb9680d41682269dfcea66/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 /* #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_728331621c3875d8c83a353dd6cbe0e2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_728331621c3875d8c83a353dd6cbe0e2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 /* #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_a72fb31c939ca2e0900c899b8446ff93/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a72fb31c939ca2e0900c899b8446ff93/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a72fb31c939ca2e0900c899b8446ff93/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a72fb31c939ca2e0900c899b8446ff93/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_186ed1ad99230b40c8d11235a67a0b57/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_186ed1ad99230b40c8d11235a67a0b57/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_1026e14c685f27955bbcbda25621d450/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1026e14c685f27955bbcbda25621d450/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_9d7ef010ea93711d68673a21c055600c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9d7ef010ea93711d68673a21c055600c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_638b646e9a6360d74c4a0e1c4c0d79ec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_638b646e9a6360d74c4a0e1c4c0d79ec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_638b646e9a6360d74c4a0e1c4c0d79ec/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_638b646e9a6360d74c4a0e1c4c0d79ec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_8421f647104ee675cae6e8c37d137ac0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8421f647104ee675cae6e8c37d137ac0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_216d4370314220c3631be1157e2d29f1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_216d4370314220c3631be1157e2d29f1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_2a88f3dd9439e9d65ece342d82bacd5a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2a88f3dd9439e9d65ece342d82bacd5a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_26142a6c4583b216d21984b12cefad47/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_26142a6c4583b216d21984b12cefad47/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_26142a6c4583b216d21984b12cefad47/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_26142a6c4583b216d21984b12cefad47/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_39e929f04dde033ac29b067ffb2d97f4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_39e929f04dde033ac29b067ffb2d97f4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_06abee7e7fe29b86181ed2dacf8369d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_06abee7e7fe29b86181ed2dacf8369d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #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_0072a01da433a4854186286fb6d5d617/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0072a01da433a4854186286fb6d5d617/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_0072a01da433a4854186286fb6d5d617/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0072a01da433a4854186286fb6d5d617/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for socklen_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #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_2652a2b768ab9120d7e21da61a83a91d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2652a2b768ab9120d7e21da61a83a91d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for struct ifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #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_dbce842bbd9f9a9d5367a85476aa3025/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dbce842bbd9f9a9d5367a85476aa3025/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for struct addrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #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_df7fbb364121c2a9e526338a828d3412/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df7fbb364121c2a9e526338a828d3412/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for struct sockaddr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #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_3e38c90d4212a387386ded403d9e2d5b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3e38c90d4212a387386ded403d9e2d5b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #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_cac195dcf05982aabb44a1903acc638f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cac195dcf05982aabb44a1903acc638f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_cac195dcf05982aabb44a1903acc638f/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cac195dcf05982aabb44a1903acc638f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for struct sockaddr_storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_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_691903d4ea9f65795ae8085a91ca59ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_691903d4ea9f65795ae8085a91ca59ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for sa_family_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_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_859e0234249388f96cb5770310755dc0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_859e0234249388f96cb5770310755dc0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for sig_atomic_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 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_bdc4d7469f4e08ebbc45925b1d1fffdc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bdc4d7469f4e08ebbc45925b1d1fffdc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for sigsetmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_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_468a005fd36583034af1c8e5973f8049/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_468a005fd36583034af1c8e5973f8049/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_468a005fd36583034af1c8e5973f8049/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_468a005fd36583034af1c8e5973f8049/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `sigsetmask' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)sigsetmask; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_e3b575daf04d212a0f51bd751e0643f9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e3b575daf04d212a0f51bd751e0643f9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:205:39: error: 'sigsetmask' undeclared (first use in this function); did you mean 'sigset_t'? int main(void) { void *__x = (void *)sigsetmask; return (int)__x; return 0; } ^~~~~~~~~~ sigset_t ../../test.c:205:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for siggetmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ #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_c85ce678e3b2388b11eeb2afa3b47070/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c85ce678e3b2388b11eeb2afa3b47070/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c85ce678e3b2388b11eeb2afa3b47070/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c85ce678e3b2388b11eeb2afa3b47070/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `siggetmask' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)siggetmask; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_a8b069a8927ae2ec5207f547b7bb759c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a8b069a8927ae2ec5207f547b7bb759c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:206:39: error: 'siggetmask' undeclared (first use in this function); did you mean 'getpass'? int main(void) { void *__x = (void *)siggetmask; return (int)__x; return 0; } ^~~~~~~~~~ getpass ../../test.c:206:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for sigprocmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #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_0b49631551445efe884bc34ef67dfa9d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0b49631551445efe884bc34ef67dfa9d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_0b49631551445efe884bc34ef67dfa9d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0b49631551445efe884bc34ef67dfa9d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for sigblock ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #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_dff6bb8ebfc8550a5b01af1c9436419f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dff6bb8ebfc8550a5b01af1c9436419f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_dff6bb8ebfc8550a5b01af1c9436419f/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dff6bb8ebfc8550a5b01af1c9436419f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `sigblock' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)sigblock; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_4f46d42ad86d0540b2da26bdd1b38e3d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4f46d42ad86d0540b2da26bdd1b38e3d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:208:39: error: 'sigblock' undeclared (first use in this function); did you mean 'isblank'? int main(void) { void *__x = (void *)sigblock; return (int)__x; return 0; } ^~~~~~~~ isblank ../../test.c:208:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for sigaction ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_9f26ffff1ad32e5c6bfa3c6b0ced3d41/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f26ffff1ad32e5c6bfa3c6b0ced3d41/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9f26ffff1ad32e5c6bfa3c6b0ced3d41/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f26ffff1ad32e5c6bfa3c6b0ced3d41/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for sigset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_096d04d4a82509ae18e7796a804e3c0a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_096d04d4a82509ae18e7796a804e3c0a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_096d04d4a82509ae18e7796a804e3c0a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_096d04d4a82509ae18e7796a804e3c0a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for inet_ntoa ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_2afc9ba26c3af73f20f1612c732ceb79/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2afc9ba26c3af73f20f1612c732ceb79/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_2afc9ba26c3af73f20f1612c732ceb79/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2afc9ba26c3af73f20f1612c732ceb79/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for inet_aton ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_55ead0e6cdc4181e2363683e37d12fb5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55ead0e6cdc4181e2363683e37d12fb5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_55ead0e6cdc4181e2363683e37d12fb5/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55ead0e6cdc4181e2363683e37d12fb5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for inet_ntop ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_6fe989c9ad59888aae217dca7bac2e46/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6fe989c9ad59888aae217dca7bac2e46/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6fe989c9ad59888aae217dca7bac2e46/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6fe989c9ad59888aae217dca7bac2e46/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for inet_pton ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #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_038d4837ca48a5c51f41ba96a2068c56/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_038d4837ca48a5c51f41ba96a2068c56/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_038d4837ca48a5c51f41ba96a2068c56/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_038d4837ca48a5c51f41ba96a2068c56/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for connect ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define 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_9d5d1a780e25a188af5ee0b652f42499/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9d5d1a780e25a188af5ee0b652f42499/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9d5d1a780e25a188af5ee0b652f42499/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9d5d1a780e25a188af5ee0b652f42499/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for gethostbyname ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define 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_3d96a55320d71dcaf7fc96f53ac093b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3d96a55320d71dcaf7fc96f53ac093b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_3d96a55320d71dcaf7fc96f53ac093b0/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3d96a55320d71dcaf7fc96f53ac093b0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for getaddrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #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_658c7c96a81fed03d523067e56848d21/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_658c7c96a81fed03d523067e56848d21/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_658c7c96a81fed03d523067e56848d21/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_658c7c96a81fed03d523067e56848d21/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for getnameinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 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_d2bd60abfca6c8dde909e8d1c30f4669/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d2bd60abfca6c8dde909e8d1c30f4669/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_d2bd60abfca6c8dde909e8d1c30f4669/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d2bd60abfca6c8dde909e8d1c30f4669/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for freeaddrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_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_9c2ba4365441379f6afd7b208b8863ba/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c2ba4365441379f6afd7b208b8863ba/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9c2ba4365441379f6afd7b208b8863ba/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c2ba4365441379f6afd7b208b8863ba/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for gai_strerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_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_1550b23f1b6945504c2a4f988d6815b3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1550b23f1b6945504c2a4f988d6815b3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1550b23f1b6945504c2a4f988d6815b3/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1550b23f1b6945504c2a4f988d6815b3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for socketpair ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_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_df6a34207d08b6a558d01c6d3e8ff317/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df6a34207d08b6a558d01c6d3e8ff317/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_df6a34207d08b6a558d01c6d3e8ff317/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df6a34207d08b6a558d01c6d3e8ff317/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for memset_s ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define 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_23e17af38ed7e50f3c6927eb24f05e33/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_23e17af38ed7e50f3c6927eb24f05e33/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_23e17af38ed7e50f3c6927eb24f05e33/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_23e17af38ed7e50f3c6927eb24f05e33/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `memset_s' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_83539f4e12c389c4b133d6eefec743c8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_83539f4e12c389c4b133d6eefec743c8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_9ef13cd43eb07e453f9cf2e81faefe0b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9ef13cd43eb07e453f9cf2e81faefe0b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9ef13cd43eb07e453f9cf2e81faefe0b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9ef13cd43eb07e453f9cf2e81faefe0b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `memset_explicit' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f9b65d0a35372c4db87262da23f16110/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f9b65d0a35372c4db87262da23f16110/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_638ca3a4b86c736d9bcbc885ec4d12aa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_638ca3a4b86c736d9bcbc885ec4d12aa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_638ca3a4b86c736d9bcbc885ec4d12aa/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_638ca3a4b86c736d9bcbc885ec4d12aa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for variable IPV6_V6ONLY ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #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_09c98f378a9ed9b7334b266d4221bcca/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_09c98f378a9ed9b7334b266d4221bcca/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #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_925baba964d0c089eeadad9453580143/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_925baba964d0c089eeadad9453580143/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for HAVE_IPV6 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_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_653d11311c36396a25bf0a8caa68337b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_653d11311c36396a25bf0a8caa68337b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_653d11311c36396a25bf0a8caa68337b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_653d11311c36396a25bf0a8caa68337b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_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_b1c717202c8ce063c5ad14e3f0da09e1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b1c717202c8ce063c5ad14e3f0da09e1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_b1c717202c8ce063c5ad14e3f0da09e1/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b1c717202c8ce063c5ad14e3f0da09e1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_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_9ecd0c71fc5f84c1b013fb28a37da09a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9ecd0c71fc5f84c1b013fb28a37da09a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9ecd0c71fc5f84c1b013fb28a37da09a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9ecd0c71fc5f84c1b013fb28a37da09a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_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_df6ce3bfa081403d75de4f447cb1e206/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df6ce3bfa081403d75de4f447cb1e206/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:232:21: warning: implicit declaration of function 'atomic_add_32' [-Wimplicit-function-declaration] atomic_add_32(&i, 1); ^~~~~~~~~~~~~ [2/2] Linking bin/.conf_check_df6ce3bfa081403d75de4f447cb1e206/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df6ce3bfa081403d75de4f447cb1e206/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0xc): undefined reference to `atomic_add_32' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_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_57976119a2ba768df7f93a6ef3a0fd72/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_57976119a2ba768df7f93a6ef3a0fd72/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_57976119a2ba768df7f93a6ef3a0fd72/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_57976119a2ba768df7f93a6ef3a0fd72/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for fallthrough attribute ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define 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_7347f24a7b83ccc2c9ef38aac97584ba/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=missing-declarations', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7347f24a7b83ccc2c9ef38aac97584ba/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_7347f24a7b83ccc2c9ef38aac97584ba/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7347f24a7b83ccc2c9ef38aac97584ba/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strdup ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 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_b65a5f1ca4efadb5a40aded4d41dc52a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b65a5f1ca4efadb5a40aded4d41dc52a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for memmem ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_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_197f6b930822f628520e5e50ec50959e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_197f6b930822f628520e5e50ec50959e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for printf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_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_da70d390b22c0b09e3897c0b72c806aa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_da70d390b22c0b09e3897c0b72c806aa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for memset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #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_f2708e8c47f80ecb9ef8529c1c350158/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2708e8c47f80ecb9ef8529c1c350158/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for memcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_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_7d9828539421e53dc4f07a3f1bdc40e3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7d9828539421e53dc4f07a3f1bdc40e3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for memmove ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define 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_4dc1a4530788d84a2aa139762ef8a0ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4dc1a4530788d84a2aa139762ef8a0ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for strcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #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_1146b2c4e0d4f05a98b6cd3efe4f7112/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1146b2c4e0d4f05a98b6cd3efe4f7112/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for strncpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #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_3f6f0f7f682165dda28df7a20798e563/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3f6f0f7f682165dda28df7a20798e563/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for bzero ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #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_d4b7a5edda1ee67d604f324dc5f5f50f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d4b7a5edda1ee67d604f324dc5f5f50f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for shl_load ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #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_47007d21ef956eb1c4f92a52823b05cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_47007d21ef956eb1c4f92a52823b05cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_47007d21ef956eb1c4f92a52823b05cb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_47007d21ef956eb1c4f92a52823b05cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `shl_load' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #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_9f6650d36e5fb24c5bd47d3befa84eb2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f6650d36e5fb24c5bd47d3befa84eb2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #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_38b4d297f4c42938efc447ac0237243e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_38b4d297f4c42938efc447ac0237243e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_38b4d297f4c42938efc447ac0237243e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_38b4d297f4c42938efc447ac0237243e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `shl_unload' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #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_9adcec2da283fbd8b70b7d0a1739ad16/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9adcec2da283fbd8b70b7d0a1739ad16/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #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_e4bd910fb1ddd529dd46ca997b1abd36/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e4bd910fb1ddd529dd46ca997b1abd36/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_e4bd910fb1ddd529dd46ca997b1abd36/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e4bd910fb1ddd529dd46ca997b1abd36/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `shl_findsym' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #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_b7cf6f8e83d9b374b1eb591729c1c49b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b7cf6f8e83d9b374b1eb591729c1c49b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define 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_d1ed23c4a80639c5095d453b2d94af4e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d1ed23c4a80639c5095d453b2d94af4e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_d1ed23c4a80639c5095d453b2d94af4e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d1ed23c4a80639c5095d453b2d94af4e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strftime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define 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_471c9e6604d8a861497165075d5190bd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_471c9e6604d8a861497165075d5190bd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_471c9e6604d8a861497165075d5190bd/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_471c9e6604d8a861497165075d5190bd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for srandom ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define 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_55c9d89192626f98927364cb5d8c70e9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55c9d89192626f98927364cb5d8c70e9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_55c9d89192626f98927364cb5d8c70e9/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55c9d89192626f98927364cb5d8c70e9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for random ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef 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_e19673810acb9816f44f218295da5d2c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e19673810acb9816f44f218295da5d2c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_e19673810acb9816f44f218295da5d2c/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e19673810acb9816f44f218295da5d2c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for srand ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef 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_a10e3fcc2f896124eba70c1a87d38601/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a10e3fcc2f896124eba70c1a87d38601/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a10e3fcc2f896124eba70c1a87d38601/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a10e3fcc2f896124eba70c1a87d38601/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for rand ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef 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_c73b51620832bedab4a5d6dfb9991ea0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c73b51620832bedab4a5d6dfb9991ea0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c73b51620832bedab4a5d6dfb9991ea0/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c73b51620832bedab4a5d6dfb9991ea0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for usleep ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define 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_16554700c6bd26f8f5a1b13bb0b12572/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_16554700c6bd26f8f5a1b13bb0b12572/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_16554700c6bd26f8f5a1b13bb0b12572/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_16554700c6bd26f8f5a1b13bb0b12572/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setbuffer ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define 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_a130e651b35d01bc5f45e35d27cb42f6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a130e651b35d01bc5f45e35d27cb42f6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a130e651b35d01bc5f45e35d27cb42f6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a130e651b35d01bc5f45e35d27cb42f6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for lstat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define 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_7e1353393351940745068cc54d88ac81/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e1353393351940745068cc54d88ac81/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_7e1353393351940745068cc54d88ac81/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e1353393351940745068cc54d88ac81/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getpgrp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define 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_18a2f6976a80cee363e789341ea869be/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_18a2f6976a80cee363e789341ea869be/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_18a2f6976a80cee363e789341ea869be/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_18a2f6976a80cee363e789341ea869be/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for utime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define 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_904f181d3ef9c1bf0909b3de6dab95ce/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_904f181d3ef9c1bf0909b3de6dab95ce/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_904f181d3ef9c1bf0909b3de6dab95ce/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_904f181d3ef9c1bf0909b3de6dab95ce/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for utimes ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define 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_ebb7e9723b98b8b7b25ef23c4ab56003/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ebb7e9723b98b8b7b25ef23c4ab56003/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ebb7e9723b98b8b7b25ef23c4ab56003/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ebb7e9723b98b8b7b25ef23c4ab56003/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define 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_adf539947998cb57343ee9b02d31d5be/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_adf539947998cb57343ee9b02d31d5be/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_adf539947998cb57343ee9b02d31d5be/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_adf539947998cb57343ee9b02d31d5be/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for seteuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define 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_72974a831dcbd9197415d2d07b65233b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_72974a831dcbd9197415d2d07b65233b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_72974a831dcbd9197415d2d07b65233b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_72974a831dcbd9197415d2d07b65233b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setreuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define 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_f9a438c5a4cd508f646058b9f19a04ef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f9a438c5a4cd508f646058b9f19a04ef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f9a438c5a4cd508f646058b9f19a04ef/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f9a438c5a4cd508f646058b9f19a04ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setresuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define 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_fdc9337ce9747c0ce7e45e0de2dae57a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fdc9337ce9747c0ce7e45e0de2dae57a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_fdc9337ce9747c0ce7e45e0de2dae57a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fdc9337ce9747c0ce7e45e0de2dae57a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define 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_92f1c5e56d9e94dd50e732f74b1108a2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_92f1c5e56d9e94dd50e732f74b1108a2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_92f1c5e56d9e94dd50e732f74b1108a2/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_92f1c5e56d9e94dd50e732f74b1108a2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setegid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define 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_084f5a4988d8fafaf7e638b5a7b03a92/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_084f5a4988d8fafaf7e638b5a7b03a92/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_084f5a4988d8fafaf7e638b5a7b03a92/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_084f5a4988d8fafaf7e638b5a7b03a92/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setregid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define 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_6d3c8c502c411b8f20dd4d25be089dff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6d3c8c502c411b8f20dd4d25be089dff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6d3c8c502c411b8f20dd4d25be089dff/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6d3c8c502c411b8f20dd4d25be089dff/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setresgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define 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_8df74792dd27c23078650f1f7659ff72/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8df74792dd27c23078650f1f7659ff72/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_8df74792dd27c23078650f1f7659ff72/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8df74792dd27c23078650f1f7659ff72/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for chroot ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define 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_88b3c22ce75bd422e5bf67991c32af3f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_88b3c22ce75bd422e5bf67991c32af3f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_88b3c22ce75bd422e5bf67991c32af3f/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_88b3c22ce75bd422e5bf67991c32af3f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define 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_53fa13e5489686d8a4a96c3f907f8331/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_53fa13e5489686d8a4a96c3f907f8331/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_53fa13e5489686d8a4a96c3f907f8331/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_53fa13e5489686d8a4a96c3f907f8331/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for vsyslog ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define 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_8b17d13a7c5cfe9acf3eeda7507dd96b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b17d13a7c5cfe9acf3eeda7507dd96b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_8b17d13a7c5cfe9acf3eeda7507dd96b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b17d13a7c5cfe9acf3eeda7507dd96b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setlinebuf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define 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_a15a80d4cfa544027d46c88be40b3c70/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a15a80d4cfa544027d46c88be40b3c70/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a15a80d4cfa544027d46c88be40b3c70/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a15a80d4cfa544027d46c88be40b3c70/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for mktime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define 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_f47d745e91b2b8512eaa332adff5f08e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f47d745e91b2b8512eaa332adff5f08e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f47d745e91b2b8512eaa332adff5f08e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f47d745e91b2b8512eaa332adff5f08e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for ftruncate ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define 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_a0159f0492a0f1620ae0865539117e01/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a0159f0492a0f1620ae0865539117e01/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a0159f0492a0f1620ae0865539117e01/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a0159f0492a0f1620ae0865539117e01/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for chsize ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #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_3ad886d43af11acd2fd17073425c81bb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3ad886d43af11acd2fd17073425c81bb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_3ad886d43af11acd2fd17073425c81bb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3ad886d43af11acd2fd17073425c81bb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `chsize' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 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_0c0ac9eae5d8206ef47d66f89ebb5145/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0c0ac9eae5d8206ef47d66f89ebb5145/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #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_f047caa37b91822c9071da7554a3ffa4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f047caa37b91822c9071da7554a3ffa4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f047caa37b91822c9071da7554a3ffa4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f047caa37b91822c9071da7554a3ffa4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for waitpid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #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_b166e40e58a09228f8a6de80b62c2994/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b166e40e58a09228f8a6de80b62c2994/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_b166e40e58a09228f8a6de80b62c2994/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b166e40e58a09228f8a6de80b62c2994/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for wait4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #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_cbd0d41f0958439a287f584665ec139b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cbd0d41f0958439a287f584665ec139b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_cbd0d41f0958439a287f584665ec139b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cbd0d41f0958439a287f584665ec139b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for initgroups ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #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_5431562504e0380cfeb5327ed06b2590/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5431562504e0380cfeb5327ed06b2590/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_5431562504e0380cfeb5327ed06b2590/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5431562504e0380cfeb5327ed06b2590/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for pread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #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_c8a66cf9f1102910a048f1648822480b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c8a66cf9f1102910a048f1648822480b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c8a66cf9f1102910a048f1648822480b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c8a66cf9f1102910a048f1648822480b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for pwrite ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #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_c76e820b434e85fbacd57a0f2766dd3e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c76e820b434e85fbacd57a0f2766dd3e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c76e820b434e85fbacd57a0f2766dd3e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c76e820b434e85fbacd57a0f2766dd3e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strndup ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define 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_4b9749bca029d9cc1100fb668f6aaa68/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b9749bca029d9cc1100fb668f6aaa68/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_4b9749bca029d9cc1100fb668f6aaa68/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b9749bca029d9cc1100fb668f6aaa68/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strcasestr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define 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_bfd2e16463634d43879cb9183794c2d5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bfd2e16463634d43879cb9183794c2d5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_bfd2e16463634d43879cb9183794c2d5/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bfd2e16463634d43879cb9183794c2d5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strsep ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define 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_a16cec51464d79ea0fe7d2119be82ccc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a16cec51464d79ea0fe7d2119be82ccc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a16cec51464d79ea0fe7d2119be82ccc/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a16cec51464d79ea0fe7d2119be82ccc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strtok_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define 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_828369eddc34effd59ac645925743792/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_828369eddc34effd59ac645925743792/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_828369eddc34effd59ac645925743792/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_828369eddc34effd59ac645925743792/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for mkdtemp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_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_d4256a6ef05e8faeb734b1d5bb097786/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d4256a6ef05e8faeb734b1d5bb097786/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_d4256a6ef05e8faeb734b1d5bb097786/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d4256a6ef05e8faeb734b1d5bb097786/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for dup2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_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_b424dc0160d08a13e47b76abf0d955ed/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b424dc0160d08a13e47b76abf0d955ed/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_b424dc0160d08a13e47b76abf0d955ed/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b424dc0160d08a13e47b76abf0d955ed/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for dprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_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_80bff9bd55aad33cadfda2f899d7b810/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_80bff9bd55aad33cadfda2f899d7b810/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_80bff9bd55aad33cadfda2f899d7b810/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_80bff9bd55aad33cadfda2f899d7b810/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for vdprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_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_737bc7e652fd232f25a17b5fefb8827d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_737bc7e652fd232f25a17b5fefb8827d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_737bc7e652fd232f25a17b5fefb8827d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_737bc7e652fd232f25a17b5fefb8827d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for isatty ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_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_32e22a69ef97916492bb38c57e0a2614/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_32e22a69ef97916492bb38c57e0a2614/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_32e22a69ef97916492bb38c57e0a2614/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_32e22a69ef97916492bb38c57e0a2614/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for chown ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_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_cf7ab66faff9de4d3522633170beead7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cf7ab66faff9de4d3522633170beead7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_cf7ab66faff9de4d3522633170beead7/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cf7ab66faff9de4d3522633170beead7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for lchown ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define 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_6373da58be98772412cca04c30343407/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6373da58be98772412cca04c30343407/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6373da58be98772412cca04c30343407/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6373da58be98772412cca04c30343407/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for link ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define 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_f5b01e3238706e0d69fd78e35f92fc53/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f5b01e3238706e0d69fd78e35f92fc53/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f5b01e3238706e0d69fd78e35f92fc53/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f5b01e3238706e0d69fd78e35f92fc53/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for readlink ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define 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_a7f128471dd0f9e31fc958ddcb07eeb2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a7f128471dd0f9e31fc958ddcb07eeb2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a7f128471dd0f9e31fc958ddcb07eeb2/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a7f128471dd0f9e31fc958ddcb07eeb2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for symlink ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define 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_65badf9ee59e47b442ee5ed36abb7f44/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_65badf9ee59e47b442ee5ed36abb7f44/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_65badf9ee59e47b442ee5ed36abb7f44/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_65badf9ee59e47b442ee5ed36abb7f44/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for realpath ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define 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_f2874d37a274085192fc65edd975059b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2874d37a274085192fc65edd975059b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f2874d37a274085192fc65edd975059b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2874d37a274085192fc65edd975059b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for snprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define 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_836a7982d89c88b17e9e1ca7561d63e7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836a7982d89c88b17e9e1ca7561d63e7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_836a7982d89c88b17e9e1ca7561d63e7/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836a7982d89c88b17e9e1ca7561d63e7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define 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_70d10881f286abc08ddc46b864fefd7d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_70d10881f286abc08ddc46b864fefd7d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_70d10881f286abc08ddc46b864fefd7d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_70d10881f286abc08ddc46b864fefd7d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for asprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define 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_55f8b330c7cf93efc73c9e2b98a724a6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55f8b330c7cf93efc73c9e2b98a724a6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_55f8b330c7cf93efc73c9e2b98a724a6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_55f8b330c7cf93efc73c9e2b98a724a6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for vasprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define 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_864ce817d227571675ddf96e3539fff2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_864ce817d227571675ddf96e3539fff2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_864ce817d227571675ddf96e3539fff2/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_864ce817d227571675ddf96e3539fff2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define 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_f4b67fdb14e173c9751443d283305057/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4b67fdb14e173c9751443d283305057/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f4b67fdb14e173c9751443d283305057/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4b67fdb14e173c9751443d283305057/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for unsetenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define 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_a00ec0121bd2818310f4aba0677b1898/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a00ec0121bd2818310f4aba0677b1898/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a00ec0121bd2818310f4aba0677b1898/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a00ec0121bd2818310f4aba0677b1898/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strnlen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define 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_073163e176658fbb981ba5e20d39a39e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_073163e176658fbb981ba5e20d39a39e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_073163e176658fbb981ba5e20d39a39e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_073163e176658fbb981ba5e20d39a39e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strtoull ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define 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_6202dd2fe5e5b31ee69568a04eaa4a4e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6202dd2fe5e5b31ee69568a04eaa4a4e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6202dd2fe5e5b31ee69568a04eaa4a4e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6202dd2fe5e5b31ee69568a04eaa4a4e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for __strtoull ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #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_cb2e63d70c665f699778a218b851f43c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cb2e63d70c665f699778a218b851f43c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_cb2e63d70c665f699778a218b851f43c/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cb2e63d70c665f699778a218b851f43c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 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_9640dff44b677f2e359297869a19e4c2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9640dff44b677f2e359297869a19e4c2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #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_10df4f878cd69f494579ad2a523f1ba3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_10df4f878cd69f494579ad2a523f1ba3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_10df4f878cd69f494579ad2a523f1ba3/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_10df4f878cd69f494579ad2a523f1ba3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `strtouq' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)strtouq; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_2727ffdea9ce3e5299cfd8dc00a473f2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2727ffdea9ce3e5299cfd8dc00a473f2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:303:39: error: 'strtouq' undeclared (first use in this function); did you mean 'strtoul'? int main(void) { void *__x = (void *)strtouq; return (int)__x; return 0; } ^~~~~~~ strtoul ../../test.c:303:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #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_1b2ea9de39b93de8541ffd78dc8b5996/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2ea9de39b93de8541ffd78dc8b5996/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1b2ea9de39b93de8541ffd78dc8b5996/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2ea9de39b93de8541ffd78dc8b5996/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for __strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #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_f4f794d66a74f8ac84c5155a37f74f22/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4f794d66a74f8ac84c5155a37f74f22/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f4f794d66a74f8ac84c5155a37f74f22/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4f794d66a74f8ac84c5155a37f74f22/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `__strtoll' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #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_77b3a55c448e2d78d5bcccc94fc174f0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_77b3a55c448e2d78d5bcccc94fc174f0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #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_e7cd8a9704e9d18c822462f14c7bb689/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e7cd8a9704e9d18c822462f14c7bb689/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_e7cd8a9704e9d18c822462f14c7bb689/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e7cd8a9704e9d18c822462f14c7bb689/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `strtoq' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)strtoq; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_6c1c4589ee51f9380fc78105edcc953b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6c1c4589ee51f9380fc78105edcc953b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:306:39: error: 'strtoq' undeclared (first use in this function); did you mean 'strtok'? int main(void) { void *__x = (void *)strtoq; return (int)__x; return 0; } ^~~~~~ strtok ../../test.c:306:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_a12a4608771c93c2a71a4aec98844e7e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a12a4608771c93c2a71a4aec98844e7e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a12a4608771c93c2a71a4aec98844e7e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a12a4608771c93c2a71a4aec98844e7e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for posix_memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_8236306a2f321a8dc15bc889b931bcfa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8236306a2f321a8dc15bc889b931bcfa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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_8236306a2f321a8dc15bc889b931bcfa/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8236306a2f321a8dc15bc889b931bcfa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for fmemopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_1a1b0fecd2e207e16750c16ed02c989a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a1b0fecd2e207e16750c16ed02c989a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1a1b0fecd2e207e16750c16ed02c989a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a1b0fecd2e207e16750c16ed02c989a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for header malloc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_d40b093a4af13adb74912ef38a43c2cd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d40b093a4af13adb74912ef38a43c2cd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes --------------------------------------------------------------------- Checking for declaration of memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_05080d267f2726e7d6277fde10721929/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_05080d267f2726e7d6277fde10721929/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #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_f1d785c7ebdf8e17ed249d3aaab82526/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f1d785c7ebdf8e17ed249d3aaab82526/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f1d785c7ebdf8e17ed249d3aaab82526/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f1d785c7ebdf8e17ed249d3aaab82526/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for posix_fallocate ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_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_15f8a2a582287cc3c749b08a4d656140/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_15f8a2a582287cc3c749b08a4d656140/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_15f8a2a582287cc3c749b08a4d656140/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_15f8a2a582287cc3c749b08a4d656140/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_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_50a8d420d5bc2ed8328f9ef5d59103da/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_50a8d420d5bc2ed8328f9ef5d59103da/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_50a8d420d5bc2ed8328f9ef5d59103da/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_50a8d420d5bc2ed8328f9ef5d59103da/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for basename ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_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_ac14c7b3551987d640730eef60190eec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ac14c7b3551987d640730eef60190eec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ac14c7b3551987d640730eef60190eec/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ac14c7b3551987d640730eef60190eec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strlcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define strlcpy __fake__strlcpy #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strlcpy #if defined __stub_strlcpy || defined __stub___strlcpy #error "bad glibc stub" #endif extern char strlcpy(); int main() { return strlcpy(); } <== [1/2] Compiling bin/.conf_check_e6adfc8a07a94a0387ab5e26336539c0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6adfc8a07a94a0387ab5e26336539c0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_e6adfc8a07a94a0387ab5e26336539c0/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6adfc8a07a94a0387ab5e26336539c0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strlcat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define strlcat __fake__strlcat #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strlcat #if defined __stub_strlcat || defined __stub___strlcat #error "bad glibc stub" #endif extern char strlcat(); int main() { return strlcat(); } <== [1/2] Compiling bin/.conf_check_19a97ed896253ff72564029dd0e8b66f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_19a97ed896253ff72564029dd0e8b66f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_19a97ed896253ff72564029dd0e8b66f/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_19a97ed896253ff72564029dd0e8b66f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getpeereid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 #define getpeereid __fake__getpeereid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpeereid #if defined __stub_getpeereid || defined __stub___getpeereid #error "bad glibc stub" #endif extern char getpeereid(); int main() { return getpeereid(); } <== [1/2] Compiling bin/.conf_check_0dbb88e74baffe31e82053974c06fa89/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0dbb88e74baffe31e82053974c06fa89/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_0dbb88e74baffe31e82053974c06fa89/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0dbb88e74baffe31e82053974c06fa89/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `getpeereid' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_982f1776166cf70989d4e17350e91538/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_982f1776166cf70989d4e17350e91538/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:318:39: error: 'getpeereid' undeclared (first use in this function); did you mean 'getresgid'? int main(void) { void *__x = (void *)getpeereid; return (int)__x; return 0; } ^~~~~~~~~~ getresgid ../../test.c:318:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for library setproctitle ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_c92ebfa0acc99e306180ccce97417d6a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c92ebfa0acc99e306180ccce97417d6a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c92ebfa0acc99e306180ccce97417d6a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c92ebfa0acc99e306180ccce97417d6a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-lsetproctitle', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: cannot find -lsetproctitle collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed --------------------------------------------------------------------- Checking for setproctitle ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_62101854707817fa09e2117c9fa090d7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_62101854707817fa09e2117c9fa090d7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:317:10: fatal error: setproctitle.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ #define setproctitle __fake__setproctitle #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setproctitle #if defined __stub_setproctitle || defined __stub___setproctitle #error "bad glibc stub" #endif extern char setproctitle(); int main() { return setproctitle(); } <== [1/2] Compiling bin/.conf_check_437a1ecf7b02e7150bca30837d6fcc98/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_437a1ecf7b02e7150bca30837d6fcc98/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_437a1ecf7b02e7150bca30837d6fcc98/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_437a1ecf7b02e7150bca30837d6fcc98/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `setproctitle' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a1f95af50a8d3abc8f4e0a96ffb21192/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a1f95af50a8d3abc8f4e0a96ffb21192/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:318:10: fatal error: setproctitle.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a1f95af50a8d3abc8f4e0a96ffb21192/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a1f95af50a8d3abc8f4e0a96ffb21192/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:318:10: fatal error: setproctitle.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_31f817d3108f45d95f95ef0d8617b61a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31f817d3108f45d95f95ef0d8617b61a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:319:39: error: 'setproctitle' undeclared (first use in this function); did you mean 'sethostname'? int main(void) { void *__x = (void *)setproctitle; return (int)__x; return 0; } ^~~~~~~~~~~~ sethostname ../../test.c:319:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for setproctitle_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ #define setproctitle_init __fake__setproctitle_init #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setproctitle_init #if defined __stub_setproctitle_init || defined __stub___setproctitle_init #error "bad glibc stub" #endif extern char setproctitle_init(); int main() { return setproctitle_init(); } <== [1/2] Compiling bin/.conf_check_9f4e02e03923ebf0a7194bf404bf49c3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f4e02e03923ebf0a7194bf404bf49c3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_9f4e02e03923ebf0a7194bf404bf49c3/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f4e02e03923ebf0a7194bf404bf49c3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `setproctitle_init' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)setproctitle_init; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_6fd5b679b4a0e797fc3a7603b32d227f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6fd5b679b4a0e797fc3a7603b32d227f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:320:39: error: 'setproctitle_init' undeclared (first use in this function) int main(void) { void *__x = (void *)setproctitle_init; return (int)__x; return 0; } ^~~~~~~~~~~~~~~~~ ../../test.c:320:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for closefrom ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ #define closefrom __fake__closefrom #ifdef HAVE_LIMITS_H # include #else # include #endif #undef closefrom #if defined __stub_closefrom || defined __stub___closefrom #error "bad glibc stub" #endif extern char closefrom(); int main() { return closefrom(); } <== [1/2] Compiling bin/.conf_check_c1b55bc2eed250ecb6497a21950edd2c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c1b55bc2eed250ecb6497a21950edd2c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c1b55bc2eed250ecb6497a21950edd2c/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c1b55bc2eed250ecb6497a21950edd2c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `closefrom' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)closefrom; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_4b94c31f36eb2838279de53690096294/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b94c31f36eb2838279de53690096294/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:321:39: error: 'closefrom' undeclared (first use in this function); did you mean 'close'? int main(void) { void *__x = (void *)closefrom; return (int)__x; return 0; } ^~~~~~~~~ close ../../test.c:321:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #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_3adb497761106334cf1c3822ab945add/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3adb497761106334cf1c3822ab945add/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_3adb497761106334cf1c3822ab945add/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3adb497761106334cf1c3822ab945add/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking correct behavior of strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #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_be78221e1815db36e372e9e444146387/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_be78221e1815db36e372e9e444146387/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_be78221e1815db36e372e9e444146387/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_be78221e1815db36e372e9e444146387/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_be78221e1815db36e372e9e444146387/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_be78221e1815db36e372e9e444146387/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking correct behavior of strtoll'] ok --------------------------------------------------------------------- Checking for if_nametoindex ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #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_6a3340dfbcf7482f58da58485f9ee68a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6a3340dfbcf7482f58da58485f9ee68a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6a3340dfbcf7482f58da58485f9ee68a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6a3340dfbcf7482f58da58485f9ee68a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for strerror_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #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_02c410daa9a5deec277de034c0891a7a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_02c410daa9a5deec277de034c0891a7a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_02c410daa9a5deec277de034c0891a7a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_02c410daa9a5deec277de034c0891a7a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getdirentries ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #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_305cb9ff1fb481a4086b4de4f9683ed7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_305cb9ff1fb481a4086b4de4f9683ed7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_305cb9ff1fb481a4086b4de4f9683ed7/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_305cb9ff1fb481a4086b4de4f9683ed7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `getdirentries' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getdirentries; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_0c68f747df4df0b280dce80c66d7d5dc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0c68f747df4df0b280dce80c66d7d5dc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:326:39: error: 'getdirentries' undeclared (first use in this function); did you mean 'getentropy'? int main(void) { void *__x = (void *)getdirentries; return (int)__x; return 0; } ^~~~~~~~~~~~~ getentropy ../../test.c:326:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getdents ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #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_b16e666ca06cb6d388689e6ae4706c03/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b16e666ca06cb6d388689e6ae4706c03/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_b16e666ca06cb6d388689e6ae4706c03/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b16e666ca06cb6d388689e6ae4706c03/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for syslog ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define syslog __fake__syslog #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syslog #if defined __stub_syslog || defined __stub___syslog #error "bad glibc stub" #endif extern char syslog(); int main() { return syslog(); } <== [1/2] Compiling bin/.conf_check_1a634b40d31491ba93d07d70372cb817/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a634b40d31491ba93d07d70372cb817/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1a634b40d31491ba93d07d70372cb817/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a634b40d31491ba93d07d70372cb817/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define get_current_dir_name __fake__get_current_dir_name #ifdef HAVE_LIMITS_H # include #else # include #endif #undef get_current_dir_name #if defined __stub_get_current_dir_name || defined __stub___get_current_dir_name #error "bad glibc stub" #endif extern char get_current_dir_name(); int main() { return get_current_dir_name(); } <== [1/2] Compiling bin/.conf_check_08f48d70331a72bc8ff0a89ac70e3d6d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08f48d70331a72bc8ff0a89ac70e3d6d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_08f48d70331a72bc8ff0a89ac70e3d6d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08f48d70331a72bc8ff0a89ac70e3d6d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for timegm ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define timegm __fake__timegm #ifdef HAVE_LIMITS_H # include #else # include #endif #undef timegm #if defined __stub_timegm || defined __stub___timegm #error "bad glibc stub" #endif extern char timegm(); int main() { return timegm(); } <== [1/2] Compiling bin/.conf_check_f8573bf4dfc7a47bd287795b99397195/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f8573bf4dfc7a47bd287795b99397195/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f8573bf4dfc7a47bd287795b99397195/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f8573bf4dfc7a47bd287795b99397195/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define getifaddrs __fake__getifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getifaddrs #if defined __stub_getifaddrs || defined __stub___getifaddrs #error "bad glibc stub" #endif extern char getifaddrs(); int main() { return getifaddrs(); } <== [1/2] Compiling bin/.conf_check_8cb91708c0222e0bb3ed7f162767d482/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8cb91708c0222e0bb3ed7f162767d482/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_8cb91708c0222e0bb3ed7f162767d482/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8cb91708c0222e0bb3ed7f162767d482/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for freeifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define freeifaddrs __fake__freeifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef freeifaddrs #if defined __stub_freeifaddrs || defined __stub___freeifaddrs #error "bad glibc stub" #endif extern char freeifaddrs(); int main() { return freeifaddrs(); } <== [1/2] Compiling bin/.conf_check_67faceeaa8d99740a9674a0beb44e75b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_67faceeaa8d99740a9674a0beb44e75b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_67faceeaa8d99740a9674a0beb44e75b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_67faceeaa8d99740a9674a0beb44e75b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for mmap ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define mmap __fake__mmap #ifdef HAVE_LIMITS_H # include #else # include #endif #undef mmap #if defined __stub_mmap || defined __stub___mmap #error "bad glibc stub" #endif extern char mmap(); int main() { return mmap(); } <== [1/2] Compiling bin/.conf_check_27cb0183f4d0f52a9cd7d105f5dc0a55/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_27cb0183f4d0f52a9cd7d105f5dc0a55/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_27cb0183f4d0f52a9cd7d105f5dc0a55/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_27cb0183f4d0f52a9cd7d105f5dc0a55/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setgroups ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define setgroups __fake__setgroups #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setgroups #if defined __stub_setgroups || defined __stub___setgroups #error "bad glibc stub" #endif extern char setgroups(); int main() { return setgroups(); } <== [1/2] Compiling bin/.conf_check_84afab05f09d959304ae2376dcd0c938/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84afab05f09d959304ae2376dcd0c938/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_84afab05f09d959304ae2376dcd0c938/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84afab05f09d959304ae2376dcd0c938/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for syscall ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define syscall __fake__syscall #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syscall #if defined __stub_syscall || defined __stub___syscall #error "bad glibc stub" #endif extern char syscall(); int main() { return syscall(); } <== [1/2] Compiling bin/.conf_check_78b478c8bf37b056f3a44b76bdb42e37/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_78b478c8bf37b056f3a44b76bdb42e37/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_78b478c8bf37b056f3a44b76bdb42e37/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_78b478c8bf37b056f3a44b76bdb42e37/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for setsid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define setsid __fake__setsid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setsid #if defined __stub_setsid || defined __stub___setsid #error "bad glibc stub" #endif extern char setsid(); int main() { return setsid(); } <== [1/2] Compiling bin/.conf_check_386804797816b9b9b5c8fb23bc0273b2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_386804797816b9b9b5c8fb23bc0273b2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_386804797816b9b9b5c8fb23bc0273b2/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_386804797816b9b9b5c8fb23bc0273b2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define getgrent_r __fake__getgrent_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrent_r #if defined __stub_getgrent_r || defined __stub___getgrent_r #error "bad glibc stub" #endif extern char getgrent_r(); int main() { return getgrent_r(); } <== [1/2] Compiling bin/.conf_check_8c0455fdd25742c904716aae8050d816/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8c0455fdd25742c904716aae8050d816/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_8c0455fdd25742c904716aae8050d816/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8c0455fdd25742c904716aae8050d816/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `getgrent_r' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getgrent_r; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b9f9c9fe667f05bce36e18f72918abae/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b9f9c9fe667f05bce36e18f72918abae/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:337:39: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getresgid'? int main(void) { void *__x = (void *)getgrent_r; return (int)__x; return 0; } ^~~~~~~~~~ getresgid ../../test.c:337:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getgrgid_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #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_c2bb6ec19ae9b234ec437d8982eb8859/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c2bb6ec19ae9b234ec437d8982eb8859/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c2bb6ec19ae9b234ec437d8982eb8859/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c2bb6ec19ae9b234ec437d8982eb8859/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getgrnam_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #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_84985c89e52c5fc0a0db101d2e3435aa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84985c89e52c5fc0a0db101d2e3435aa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_84985c89e52c5fc0a0db101d2e3435aa/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84985c89e52c5fc0a0db101d2e3435aa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getgrouplist ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #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_39e5cc9ac2a0fe9f4f0eafc2868fcddf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_39e5cc9ac2a0fe9f4f0eafc2868fcddf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_39e5cc9ac2a0fe9f4f0eafc2868fcddf/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_39e5cc9ac2a0fe9f4f0eafc2868fcddf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getpagesize ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #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_79815abd8e03ebb31bc0dd018ad01849/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79815abd8e03ebb31bc0dd018ad01849/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_79815abd8e03ebb31bc0dd018ad01849/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79815abd8e03ebb31bc0dd018ad01849/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #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_e9432bb075ff93106e5b313b931f4483/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e9432bb075ff93106e5b313b931f4483/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_e9432bb075ff93106e5b313b931f4483/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e9432bb075ff93106e5b313b931f4483/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `getpwent_r' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getpwent_r; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_365ea6e9fef420020f7458b59bbfee48/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_365ea6e9fef420020f7458b59bbfee48/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:342:39: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getlogin_r'? int main(void) { void *__x = (void *)getpwent_r; return (int)__x; return 0; } ^~~~~~~~~~ getlogin_r ../../test.c:342:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getpwnam_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_86e76610fac976bcf836598da49f1075/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_86e76610fac976bcf836598da49f1075/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_86e76610fac976bcf836598da49f1075/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_86e76610fac976bcf836598da49f1075/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for getpwuid_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_421b678e37a7b7adfc34a3f717fab222/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_421b678e37a7b7adfc34a3f717fab222/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_421b678e37a7b7adfc34a3f717fab222/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_421b678e37a7b7adfc34a3f717fab222/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for epoll_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_b267174db9f1f430d5f0f9f55ee436c2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b267174db9f1f430d5f0f9f55ee436c2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_b267174db9f1f430d5f0f9f55ee436c2/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b267174db9f1f430d5f0f9f55ee436c2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for port_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_29e46ad07f01ab451e5f05752dbc556b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_29e46ad07f01ab451e5f05752dbc556b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_29e46ad07f01ab451e5f05752dbc556b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_29e46ad07f01ab451e5f05752dbc556b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `port_create' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_a6ec6e519e6cc66ba72b43883914aeb0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a6ec6e519e6cc66ba72b43883914aeb0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:346: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:346:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_83d7e63abee723e7df1a6594c1faca80/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_83d7e63abee723e7df1a6594c1faca80/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_83d7e63abee723e7df1a6594c1faca80/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_83d7e63abee723e7df1a6594c1faca80/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/8.3.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup.main+0x4): undefined reference to `getprogname' collect2: error: ld returned 1 exit status from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #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_81e89c5adee23f73e8bec90f9f9e29ec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_81e89c5adee23f73e8bec90f9f9e29ec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:347: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:347:39: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 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_adb1535cc14c5d21cf86c2663d9323ef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_adb1535cc14c5d21cf86c2663d9323ef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_adb1535cc14c5d21cf86c2663d9323ef/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_adb1535cc14c5d21cf86c2663d9323ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_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_bab4ca5948dd4ce7dd6e0b84321d3d26/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bab4ca5948dd4ce7dd6e0b84321d3d26/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:351: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:349: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/sys/xattr.h:14:9: note: declared here ssize_t getxattr(const char *, const char *, void *, size_t); ^~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef 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_a8d7e4726c4ea6fc247b3929a8c84ac0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a8d7e4726c4ea6fc247b3929a8c84ac0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_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_b9801ecd55618c53284c6a10df98ec6c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b9801ecd55618c53284c6a10df98ec6c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:351:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #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_dbd3cd9e586453227d99b1f7db2dd20d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dbd3cd9e586453227d99b1f7db2dd20d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_dbd3cd9e586453227d99b1f7db2dd20d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dbd3cd9e586453227d99b1f7db2dd20d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for dlsym ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 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_ab8f559f7b0882315340a55dc678f856/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab8f559f7b0882315340a55dc678f856/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ab8f559f7b0882315340a55dc678f856/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab8f559f7b0882315340a55dc678f856/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for dlerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 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_455e8808d4240a639c8fe682993f43b6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_455e8808d4240a639c8fe682993f43b6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_455e8808d4240a639c8fe682993f43b6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_455e8808d4240a639c8fe682993f43b6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for dlclose ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 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_f82107e138e72ffb4b1009158ca8d31e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f82107e138e72ffb4b1009158ca8d31e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f82107e138e72ffb4b1009158ca8d31e/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f82107e138e72ffb4b1009158ca8d31e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for declaration of dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 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_7e0265003a59b226bc381a2f8b43536a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e0265003a59b226bc381a2f8b43536a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking C prototype for dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 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_5fea0017363f4985d5873b9776d4e010/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5fea0017363f4985d5873b9776d4e010/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:358: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:356: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/dlfcn.h:24:8: note: previous declaration of 'dlopen' was here void *dlopen(const char *, int); ^~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 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_de661447e2bca36a2d55ca6d070345df/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_de661447e2bca36a2d55ca6d070345df/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_de661447e2bca36a2d55ca6d070345df/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_de661447e2bca36a2d55ca6d070345df/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------- Checking for declaration of fdatasync ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 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_11a6f06213c3af130c5b13d3ce5b3c8e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_11a6f06213c3af130c5b13d3ce5b3c8e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------- Checking for clock_gettime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 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_c450748a64d3f0f8f6c25963c1b74030/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c450748a64d3f0f8f6c25963c1b74030/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_c450748a64d3f0f8f6c25963c1b74030/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c450748a64d3f0f8f6c25963c1b74030/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #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_ee93d28820e28b559389f642785f7ac6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ee93d28820e28b559389f642785f7ac6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ee93d28820e28b559389f642785f7ac6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ee93d28820e28b559389f642785f7ac6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #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_3867aeea3807bc2791d75981f5831df7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3867aeea3807bc2791d75981f5831df7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_3867aeea3807bc2791d75981f5831df7/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3867aeea3807bc2791d75981f5831df7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_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_3eb2eda038880a47cc5d55d87a67e8e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3eb2eda038880a47cc5d55d87a67e8e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_3eb2eda038880a47cc5d55d87a67e8e0/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3eb2eda038880a47cc5d55d87a67e8e0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for struct timespec ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_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_08b78cf13874db3ec809c61c7c37ef80/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08b78cf13874db3ec809c61c7c37ef80/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_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_c373916f308915757601ccdc8b0e21cd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c373916f308915757601ccdc8b0e21cd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes --------------------------------------------------------------------------------- Checking for header resolv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 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_f31cd1b43a97602679f75c448be3e3c0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f31cd1b43a97602679f75c448be3e3c0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes --------------------------------------------------------------------------------- Checking for res_search ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_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_df15402eced89971c457c3f7b780d666/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df15402eced89971c457c3f7b780d666/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_df15402eced89971c457c3f7b780d666/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df15402eced89971c457c3f7b780d666/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for pthread_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9f1bc699edc392990a73f7a484e85e7e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f1bc699edc392990a73f7a484e85e7e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #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_fd7979fc2bddadfa74be03f4349731d7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fd7979fc2bddadfa74be03f4349731d7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_fd7979fc2bddadfa74be03f4349731d7/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fd7979fc2bddadfa74be03f4349731d7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for pthread_attr_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_041d46bd28c81b248cf25f2ec373f3d0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_041d46bd28c81b248cf25f2ec373f3d0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_041d46bd28c81b248cf25f2ec373f3d0/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_041d46bd28c81b248cf25f2ec373f3d0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for pthread_mutexattr_setrobust ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_ecaf505477191a9fb4ea6e538407d486/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ecaf505477191a9fb4ea6e538407d486/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ecaf505477191a9fb4ea6e538407d486/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ecaf505477191a9fb4ea6e538407d486/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_f8be39987ce87f03afa071810930ea5c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f8be39987ce87f03afa071810930ea5c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for pthread_mutex_consistent ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_1b3507218ec4ec86211bb31f552eb135/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b3507218ec4ec86211bb31f552eb135/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1b3507218ec4ec86211bb31f552eb135/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b3507218ec4ec86211bb31f552eb135/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for __thread local storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_30329cf42adc0dbc9cc55f9308300a67/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_30329cf42adc0dbc9cc55f9308300a67/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_30329cf42adc0dbc9cc55f9308300a67/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_30329cf42adc0dbc9cc55f9308300a67/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_ca919e33512f8797fcde27e47d171397/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ca919e33512f8797fcde27e47d171397/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_ca919e33512f8797fcde27e47d171397/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ca919e33512f8797fcde27e47d171397/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for crypt_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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 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_27422f83cc34df90ee3a561edaed6653/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_27422f83cc34df90ee3a561edaed6653/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_27422f83cc34df90ee3a561edaed6653/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_27422f83cc34df90ee3a561edaed6653/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for header readline.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_162b7786c5342ca21dff47af3795a0d5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_162b7786c5342ca21dff47af3795a0d5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:382:10: fatal error: readline.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_2363368a3d3fc449affb1e8889ae9ad2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2363368a3d3fc449affb1e8889ae9ad2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_32e28c27c8791229e8f47e03721e88b6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_32e28c27c8791229e8f47e03721e88b6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_842329e5c17965099f90035b6bd11d66/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_842329e5c17965099f90035b6bd11d66/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_86d29ccced5f55e369ec1a55b27450d5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_86d29ccced5f55e369ec1a55b27450d5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of snprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_f9493f28fbf44ab2d3b54f59949cdbde/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f9493f28fbf44ab2d3b54f59949cdbde/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_82f123f8a4f37811b2e5b4cc247f833a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_82f123f8a4f37811b2e5b4cc247f833a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of asprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_b4a838b66f3e8fd777e200641971286e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b4a838b66f3e8fd777e200641971286e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of vasprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_79a29db0044a65dd01525e1ec3b6c8e9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79a29db0044a65dd01525e1ec3b6c8e9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of errno ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_37c9fbad69fae43864852e65259b0cec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37c9fbad69fae43864852e65259b0cec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of EWOULDBLOCK ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_d0aef946a88748cbb864b4f07643285a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d0aef946a88748cbb864b4f07643285a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of environ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_8b6643a4efdf51cda49b6d3dba532d9e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b6643a4efdf51cda49b6d3dba532d9e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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_70e4cc9a3797af596b5f9bea7f8099e1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_70e4cc9a3797af596b5f9bea7f8099e1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:398:45: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? void *_x; _x=(void *)&getgrent_r; return (int)_x; ^~~~~~~~~~ getgrent ../../test.c:398:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getgrent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getgrent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_37694a72fa6592eb3ea51c4b9b1144e5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37694a72fa6592eb3ea51c4b9b1144e5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:398:35: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? return (int)getgrent_r; ^~~~~~~~~~ getgrent ../../test.c:398:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ #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_255d013724e6e2d2b3465e04f253963d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_255d013724e6e2d2b3465e04f253963d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:399:45: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? void *_x; _x=(void *)&getpwent_r; return (int)_x; ^~~~~~~~~~ getpwent ../../test.c:399:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getpwent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getpwent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_16700807756366eee9f0e383c4540fe9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_16700807756366eee9f0e383c4540fe9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:399:35: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? return (int)getpwent_r; ^~~~~~~~~~ getpwent ../../test.c:399:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of pread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_a33498ccb6553c7f28b56c21666244da/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a33498ccb6553c7f28b56c21666244da/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of pwrite ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_1109f4398d728a4f0bc2468f659f4016/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1109f4398d728a4f0bc2468f659f4016/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of setenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_4b4ffe8534e64babfdc748b4be2ffd3d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b4ffe8534e64babfdc748b4be2ffd3d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of setresgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_7f0dfb94de03112090349def49be89ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7f0dfb94de03112090349def49be89ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for declaration of setresuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_deef9e81b1b341b88f3fb9af310071e8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_deef9e81b1b341b88f3fb9af310071e8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for eventfd ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_bb5e6d8b96b1aaf2a3df9c9649e9633a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bb5e6d8b96b1aaf2a3df9c9649e9633a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_4831e3522c2ec34498747fe4b004e3fe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4831e3522c2ec34498747fe4b004e3fe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_4831e3522c2ec34498747fe4b004e3fe/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4831e3522c2ec34498747fe4b004e3fe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for header poll.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_4045c61110b38c961b18e2cdc81cbda4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4045c61110b38c961b18e2cdc81cbda4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes --------------------------------------------------------------------------------- Checking for poll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_1c35ef8ec7a9285f1d1f9a9703b9f5d6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1c35ef8ec7a9285f1d1f9a9703b9f5d6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1c35ef8ec7a9285f1d1f9a9703b9f5d6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1c35ef8ec7a9285f1d1f9a9703b9f5d6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_a662508657b1c3dfc5dfc5fe7772ac00/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a662508657b1c3dfc5dfc5fe7772ac00/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a662508657b1c3dfc5dfc5fe7772ac00/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a662508657b1c3dfc5dfc5fe7772ac00/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for declaration of strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_144471f4d64bed03ab5c337dd839db20/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_144471f4d64bed03ab5c337dd839db20/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for working strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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_a756cb64e9cb52e60c29bd37312cd050/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a756cb64e9cb52e60c29bd37312cd050/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_a756cb64e9cb52e60c29bd37312cd050/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a756cb64e9cb52e60c29bd37312cd050/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_a756cb64e9cb52e60c29bd37312cd050/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a756cb64e9cb52e60c29bd37312cd050/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking for working strptime'] from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed False not found --------------------------------------------------------------------------------- Checking for declaration of gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #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_ecb2df2320db3e81143900c24c59d9ca/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ecb2df2320db3e81143900c24c59d9ca/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #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_715c5331d83374788258bf9b81113ae4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_715c5331d83374788258bf9b81113ae4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:411:23: error: conflicting types for 'gettimeofday' int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; } ^~~~~~~~~~~~ In file included from ../../test.c:409: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/sys/time.h:11:5: note: previous declaration of 'gettimeofday' was here int gettimeofday (struct timeval *__restrict, void *__restrict); ^~~~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; } <== [1/1] Compiling bin/.conf_check_15c0dbfcdd1deb128c45209050b32af9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_15c0dbfcdd1deb128c45209050b32af9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- Checking for C99 vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "tests/snprintf.c" <== [1/3] Compiling bin/.conf_check_79e73be461453f42c5cbe3856b19107b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79e73be461453f42c5cbe3856b19107b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from ../../test.c:412: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/tests/snprintf.c: In function 'foo': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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); ^~~~~~~~~~~~~ /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/tests/snprintf.c:23:24: warning: unknown escape sequence: '\$' /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/tests/snprintf.c:24:26: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] if (snprintf(buf, 20, "%s", 0) < 3) exit(7); ~^ ~ %d [2/3] Linking bin/.conf_check_79e73be461453f42c5cbe3856b19107b/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79e73be461453f42c5cbe3856b19107b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_79e73be461453f42c5cbe3856b19107b/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79e73be461453f42c5cbe3856b19107b/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking for C99 vsnprintf'] out: 1 ok --------------------------------------------------------------------------------- Checking for HAVE_SHARED_MMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #include "tests/shared_mmap.c" <== [1/3] Compiling bin/.conf_check_24db2efabfe332148051006f6c4d472a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_24db2efabfe332148051006f6c4d472a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_24db2efabfe332148051006f6c4d472a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_24db2efabfe332148051006f6c4d472a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_24db2efabfe332148051006f6c4d472a/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_24db2efabfe332148051006f6c4d472a/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #include "tests/shared_mremap.c" <== [1/3] Compiling bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fedf169906bb64fd39e89d1b3f4c2e85/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 #include "tests/incoherent_mmap.c" <== [1/3] Compiling bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b8ca9d21703a6c57402190035dfebdad/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking for HAVE_INCOHERENT_MMAP'] from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { typedef struct {unsigned x;} FOOBAR; #define X_FOOBAR(x) ((FOOBAR) { x }) #define FOO_ONE X_FOOBAR(1) FOOBAR f = FOO_ONE; static const struct { FOOBAR y; } f2[] = { {FOO_ONE} }; static const FOOBAR f3[] = {FOO_ONE}; ; return 0; } <== [1/2] Compiling bin/.conf_check_47aa8bc03bcad67ffa781dd98f110f49/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_47aa8bc03bcad67ffa781dd98f110f49/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_47aa8bc03bcad67ffa781dd98f110f49/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_47aa8bc03bcad67ffa781dd98f110f49/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for HAVE_MKDIR_MODE ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { mkdir("foo",0777); return 0; } <== [1/2] Compiling bin/.conf_check_6517cb3b6b64ce0baa7abc83f8c5d8d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6517cb3b6b64ce0baa7abc83f8c5d8d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_6517cb3b6b64ce0baa7abc83f8c5d8d1/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6517cb3b6b64ce0baa7abc83f8c5d8d1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_mtim.tv_nsec; return 0; } <== [1/1] Compiling bin/.conf_check_5a48342ba8c84628705da321d26b1c95/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5a48342ba8c84628705da321d26b1c95/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_5feb1ac3769dabe4145ca06cce130856/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5feb1ac3769dabe4145ca06cce130856/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_b5defbe5086351aa30d00002468428d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b5defbe5086351aa30d00002468428d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_a93b41c154e71d91b8ea2f2bfe185949/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a93b41c154e71d91b8ea2f2bfe185949/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_431626c5b59c3ae2b5d951624af8a37a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_431626c5b59c3ae2b5d951624af8a37a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:424:70: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } ^~~~~~~~~~~ ss_family from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_be5a1ef796812b77e85a064293ddb4dd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_be5a1ef796812b77e85a064293ddb4dd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:425: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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_fb5dee7ec4ff66a0cee45731b9ed3086/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fb5dee7ec4ff66a0cee45731b9ed3086/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:426: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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_2fb24b92b8441a7c0a91ef25235a2da0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2fb24b92b8441a7c0a91ef25235a2da0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:427: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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_1ce74dbacf5476977eabead9a6bd4a0c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ce74dbacf5476977eabead9a6bd4a0c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1ce74dbacf5476977eabead9a6bd4a0c/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ce74dbacf5476977eabead9a6bd4a0c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok --------------------------------------------------------------------------------- Checking for HAVE_SECURE_MKSTEMP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_e688e0bc1042447eb63c6832229b970c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e688e0bc1042447eb63c6832229b970c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_e688e0bc1042447eb63c6832229b970c/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e688e0bc1042447eb63c6832229b970c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_e688e0bc1042447eb63c6832229b970c/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e688e0bc1042447eb63c6832229b970c/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_fbf6cb23e85162c53264073e2b6a72d5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fbf6cb23e85162c53264073e2b6a72d5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:26, from ../../test.c:432: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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:432: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c: In function 'rep_strerror_r': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:827:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] char *s = strerror_r(errnum, buf, buflen); ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_35619ec6e7cd15af17f2afe46ff63a27/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_35619ec6e7cd15af17f2afe46ff63a27/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:26, from ../../test.c:433: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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:433: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c: In function 'rep_strerror_r': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:827:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] char *s = strerror_r(errnum, buf, buflen); ^~~~~~~~~~ In file included from ../../test.c:436: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/getifaddrs.c: In function 'rep_getifaddrs': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/getifaddrs.c:318:22: error: 'struct sockaddr' has no member named 'sa_len' inc = ifr->ifr_addr.sa_len; ^ /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system/network.h:54, from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:30, from ../../test.c:433: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/netdb.h:55:20: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' void freeaddrinfo (struct addrinfo *); ^~~~~~~~~~~~~~~~~ In file included from ../../test.c:436: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system/network.h:54, from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:30, from ../../test.c:433: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/netdb.h:55:20: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' void freeaddrinfo (struct addrinfo *); ^~~~~~~~~~~~~~~~~ In file included from ../../test.c:436: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system/network.h:54, from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:30, from ../../test.c:433: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/netdb.h:55:20: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' void freeaddrinfo (struct addrinfo *); ^~~~~~~~~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_94fde92406daf9630ef6e7069bc8e206/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_94fde92406daf9630ef6e7069bc8e206/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:26, from ../../test.c:434: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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:434: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c: In function 'rep_strerror_r': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:827:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] char *s = strerror_r(errnum, buf, buflen); ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_56672188c2db9adc190824c482750de9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_56672188c2db9adc190824c482750de9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:26, from ../../test.c:435: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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:435: /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c: In function 'rep_strerror_r': /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/replace.c:827:12: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] char *s = strerror_r(errnum, buf, buflen); ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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_689293ec5ed3d9cd13c82178c35d213f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_689293ec5ed3d9cd13c82178c35d213f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:435:45: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? void *_x; _x=(void *)&getpwent_r; return (int)_x; ^~~~~~~~~~ getpwent ../../test.c:435:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getpwent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getpwent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_67b01fa6f2df2efd0d3d499db5edb558/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_67b01fa6f2df2efd0d3d499db5edb558/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:435:35: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? return (int)getpwent_r; ^~~~~~~~~~ getpwent ../../test.c:435:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_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_cf73ddfab2ced5d7d773bd0cdfb7e7fa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cf73ddfab2ced5d7d773bd0cdfb7e7fa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:436:45: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? void *_x; _x=(void *)&getgrent_r; return (int)_x; ^~~~~~~~~~ getgrent ../../test.c:436:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getgrent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getgrent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_b58ba63ef85b91531618b4ab36a8ca80/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b58ba63ef85b91531618b4ab36a8ca80/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:436:35: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? return (int)getgrent_r; ^~~~~~~~~~ getgrent ../../test.c:436:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #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_c787d609884f33510eeffb355d1703e3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c787d609884f33510eeffb355d1703e3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:437:45: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? void *_x; _x=(void *)&getpwent_r; return (int)_x; ^~~~~~~~~~ getpwent ../../test.c:437:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getpwent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getpwent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_2ec9b176d36cadfcc658c464905da33f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2ec9b176d36cadfcc658c464905da33f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:436:35: error: 'getpwent_r' undeclared (first use in this function); did you mean 'getpwent'? return (int)getpwent_r; ^~~~~~~~~~ getpwent ../../test.c:436:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_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_0833932ca0656bb59979af6becd24934/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0833932ca0656bb59979af6becd24934/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:437:45: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? void *_x; _x=(void *)&getgrent_r; return (int)_x; ^~~~~~~~~~ getgrent ../../test.c:437:45: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getgrent_r (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)getgrent_r; ; return 0; } <== [1/1] Compiling bin/.conf_check_b58ba63ef85b91531618b4ab36a8ca80/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b58ba63ef85b91531618b4ab36a8ca80/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:436:35: error: 'getgrent_r' undeclared (first use in this function); did you mean 'getgrent'? return (int)getgrent_r; ^~~~~~~~~~ getgrent ../../test.c:436:35: note: each undeclared identifier is reported only once for each function it appears in from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_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_6278183dbf373a1295c729fd6dc3646f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6278183dbf373a1295c729fd6dc3646f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok --------------------------------------------------------------------------------- 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 "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #define STRERROR_R_XSI_NOT_GNU 1 #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_23298f557860135742f4dfc2fd37801c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/examples/fuse', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_23298f557860135742f4dfc2fd37801c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:438:33: fatal error: fuse/fuse_lowlevel.h: No such file or directory #include "fuse/fuse_lowlevel.h" ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/examples/fuse: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/examples/fuse: The configuration failed not found --------------------------------------------------------------------------------- Checking for program 'i386-mingw32-gcc' not found find program=['i386-mingw32-gcc'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN32' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-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=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='WINEXE_CC_WIN64' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/examples/winexe: Could not find the program ['amd64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'perl' /root/openwrt/staging_dir/host/bin/perl find program=['perl'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PERL' -> ['/root/openwrt/staging_dir/host/bin/perl'] --------------------------------------------------------------------------------- Checking for program 'perl' /root/openwrt/staging_dir/host/bin/perl find program=['perl'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PERL' -> ['/root/openwrt/staging_dir/host/bin/perl'] --------------------------------------------------------------------------------- Checking for minimum perl version 5.0.0 find program=['perl'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PERL' -> ['/root/openwrt/staging_dir/host/bin/perl'] ['/root/openwrt/staging_dir/host/bin/perl', '-e', 'printf "%vd", $^V'] out: 5.24.1 5.24.1 --------------------------------------------------------------------------------- Checking for perl $Config{vendorprefix}: '/usr' --------------------------------------------------------------------------------- Checking for perl $Config{vendorarch}: '/usr/lib/x86_64-linux-gnu/perl5/5.24' --------------------------------------------------------------------------------- PERL_ARCH_INSTALL_DIR: '/usr/lib/x86_64-linux-gnu/perl5/5.24' --------------------------------------------------------------------------------- Checking for perl $Config{vendorlib}: '/usr/share/perl5' --------------------------------------------------------------------------------- PERL_LIB_INSTALL_DIR: '/usr/share/perl5' --------------------------------------------------------------------------------- PERL_INC: ['/etc/perl', '/usr/local/lib/x86_64-linux-gnu/perl/5.24.1', '/usr/local/share/perl/5.24.1', '/usr/lib/x86_64-linux-gnu/perl5/5.24', '/usr/share/perl5', '/usr/lib/x86_64-linux-gnu/perl/5.24', '/usr/share/perl/5.24', '/usr/local/lib/site_perl', '/usr/lib/x86_64-linux-gnu/perl-base'] --------------------------------------------------------------------------------- Checking for program 'xsltproc' /usr/bin/xsltproc find program=['xsltproc'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='XSLTPROC' -> ['/usr/bin/xsltproc'] --------------------------------------------------------------------------------- Checking for program 'python3' /root/openwrt/staging_dir/hostpkg/bin/python3 find program=['python3'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PYTHON' -> ['/root/openwrt/staging_dir/hostpkg/bin/python3'] --------------------------------------------------------------------------------- Checking for program 'python' /root/openwrt/staging_dir/hostpkg/bin/python3 find program=['python'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PYTHON' -> ['/root/openwrt/staging_dir/hostpkg/bin/python3'] ['/root/openwrt/staging_dir/hostpkg/bin/python3', '-c', 'import imp;print(imp.get_tag())'] out: cpython-38 err: :1: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses --------------------------------------------------------------------------------- Checking for program 'python3' /root/openwrt/staging_dir/hostpkg/bin/python3 find program=['python3'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PYTHON3' -> ['/root/openwrt/staging_dir/hostpkg/bin/python3'] ['/root/openwrt/staging_dir/hostpkg/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 8 0 final 0 ['/root/openwrt/staging_dir/hostpkg/bin/python3', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr') or ''))"] out: '/usr/lib/python3.8/site-packages' '/usr/lib/python3.8/site-packages' ['/root/openwrt/staging_dir/hostpkg/bin/python3', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr') or ''))"] out: '/usr/lib/python3.8/site-packages' '/usr/lib/python3.8/site-packages' --------------------------------------------------------------------------------- Checking for python version >= 3.4.0 3.8.0 ['/root/openwrt/staging_dir/hostpkg/bin/python3', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_config_var('prefix') or ''))\nprint(repr(get_config_var('SO') or ''))\nprint(repr(get_config_var('LDFLAGS') or ''))\nprint(repr(get_config_var('LIBDIR') or ''))\nprint(repr(get_config_var('LIBPL') or ''))\nprint(repr(get_config_var('INCLUDEPY') or ''))\nprint(repr(get_config_var('Py_ENABLE_SHARED') or ''))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET') or ''))\nprint(repr(get_config_var('LDSHARED') or ''))\nprint(repr(get_config_var('CFLAGS') or ''))\nprint(repr(get_config_var('LDVERSION') or ''))"] out: '/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr' '.cpython-38.so' '-L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' '/root/openwrt/staging_dir/hostpkg/lib' '/root/openwrt/staging_dir/hostpkg/lib/python3.8/config-3.8' '/root/openwrt/staging_dir/hostpkg/include/python3.8' '' '' 'gcc -pthread -shared -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include' '3.8' err: :4: DeprecationWarning: SO is deprecated, use EXT_SUFFIX '/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr' '.cpython-38.so' '-L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' '/root/openwrt/staging_dir/hostpkg/lib' '/root/openwrt/staging_dir/hostpkg/lib/python3.8/config-3.8' '/root/openwrt/staging_dir/hostpkg/include/python3.8' '' '' 'gcc -pthread -shared -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include' '3.8' Configuration returned from ['/root/openwrt/staging_dir/hostpkg/bin/python3']: prefix = '/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr' SO = '.cpython-38.so' LDFLAGS = '-L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' LIBDIR = '/root/openwrt/staging_dir/hostpkg/lib' LIBPL = '/root/openwrt/staging_dir/hostpkg/lib/python3.8/config-3.8' INCLUDEPY = '/root/openwrt/staging_dir/hostpkg/include/python3.8' Py_ENABLE_SHARED = '' MACOSX_DEPLOYMENT_TARGET = '' LDSHARED = 'gcc -pthread -shared -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt -L/root/openwrt/staging_dir/host/lib -L/root/openwrt/staging_dir/hostpkg/lib -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/lib -Wl,-rpath,/root/openwrt/staging_dir/hostpkg/lib -Wl,--no-as-needed -lrt' CFLAGS = '-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include' LDVERSION = '3.8' --------------------------------------------------------------------------------- python-config /root/openwrt/staging_dir/hostpkg/bin/python3-config find program=['/root/openwrt/staging_dir/hostpkg/bin/python3-config', 'python3.8-config', 'python-config-3.8', 'python3.8m-config'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PYTHON_CONFIG' -> ['/root/openwrt/staging_dir/hostpkg/bin/python3-config'] --------------------------------------------------------------------------------- Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags ['/root/openwrt/staging_dir/hostpkg/bin/python3-config', '--cflags', '--libs', '--ldflags', '--embed'] out: -I/root/openwrt/staging_dir/hostpkg/include/python3.8 -I/root/openwrt/staging_dir/hostpkg/include/python3.8 -Wno-unused-result -Wsign-compare -O2 -I/root/openwrt/staging_dir/host/include -I/root/openwrt/staging_dir/hostpkg/include -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include -DNDEBUG -g -fwrapv -O3 -Wall -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -L/root/openwrt/staging_dir/hostpkg/lib/python3.8/config-3.8 -L/root/openwrt/staging_dir/hostpkg/lib -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm Unhandled flag '-Wno-unused-result' Unhandled flag '-Wsign-compare' Unhandled flag '-Wall' yes --------------------------------------------------------------------------------- Testing pyembed configuration ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #define SIZEOF_SSIZE_T 4 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 4 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 4 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 /* #undef HAVE_SIGSETMASK */ /* #undef HAVE_SIGGETMASK */ #define HAVE_SIGPROCMASK 1 /* #undef HAVE_SIGBLOCK */ #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ /* #undef HAVE_STRTOUQ */ #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ /* #undef HAVE_STRTOQ */ #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_STRLCPY 1 #define HAVE_STRLCAT 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_SETPROCTITLE */ /* #undef HAVE_SETPROCTITLE_INIT */ /* #undef HAVE_CLOSEFROM */ #define HAVE_PEERCRED 1 #define HAVE_BSD_STRTOLL 1 #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 /* #undef HAVE_GETDIRENTRIES */ #define HAVE_GETDENTS 1 #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 /* #undef HAVE_GETGRENT_R */ #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 /* #undef HAVE_GETPWENT_R */ #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 /* #undef HAVE_GETTEXT */ /* #undef HAVE_DECL_GETTEXT */ /* #undef HAVE_DGETTEXT */ /* #undef HAVE_DECL_DGETTEXT */ #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 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_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 /* #undef HAVE_GETGRENT_R_DECL */ /* #undef HAVE_GETPWENT_R_DECL */ #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 /* #undef HAVE_WORKING_STRPTIME */ #define HAVE_DECL_GETTIMEOFDAY 1 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_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 */ /* #undef HAVE_DECL_GETPWENT_R */ /* #undef HAVE_DECL_GETGRENT_R */ #define STRERROR_R_XSI_NOT_GNU 1 /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv #define PYTHONDIR "/usr/lib/python3.8/site-packages" #define PYTHONARCHDIR "/usr/lib/python3.8/site-packages" #define HAVE_PYEMBED 1 #include #ifdef __cplusplus extern "C" { #endif void Py_Initialize(void); void Py_Finalize(void); #ifdef __cplusplus } #endif int main(int argc, char **argv) { (void)argc; (void)argv; Py_Initialize(); Py_Finalize(); return 0; } <== [1/2] Compiling bin/.conf_check_75e0f218def4f75aac3bd7ab3ce89935/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-O2', '-g', '-fwrapv', '-O3', '-I../../../../../../../staging_dir/hostpkg/include/python3.8', '-I../../../../../../../staging_dir/host/include', '-I../../../../../../../staging_dir/hostpkg/include', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/include', '-DNDEBUG', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_75e0f218def4f75aac3bd7ab3ce89935/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from ../../../../../../../staging_dir/hostpkg/include/python3.8/Python.h:8, from ../../test.c:426: ../../../../../../../staging_dir/hostpkg/include/python3.8/pyconfig.h:1437: warning: "SIZEOF_LONG" redefined #define SIZEOF_LONG 8 ../../test.c:163: note: this is the location of the previous definition #define SIZEOF_LONG 4 In file included from ../../../../../../../staging_dir/hostpkg/include/python3.8/Python.h:8, from ../../test.c:426: ../../../../../../../staging_dir/hostpkg/include/python3.8/pyconfig.h:1461: warning: "SIZEOF_SIZE_T" redefined #define SIZEOF_SIZE_T 8 ../../test.c:165: note: this is the location of the previous definition #define SIZEOF_SIZE_T 4 In file included from ../../../../../../../staging_dir/hostpkg/include/python3.8/Python.h:8, from ../../test.c:426: ../../../../../../../staging_dir/hostpkg/include/python3.8/pyconfig.h:1464: warning: "SIZEOF_TIME_T" redefined #define SIZEOF_TIME_T 8 ../../test.c:179: note: this is the location of the previous definition #define SIZEOF_TIME_T 4 In file included from ../../../../../../../staging_dir/hostpkg/include/python3.8/Python.h:8, from ../../test.c:426: ../../../../../../../staging_dir/hostpkg/include/python3.8/pyconfig.h:1470: warning: "SIZEOF_VOID_P" redefined #define SIZEOF_VOID_P 8 ../../test.c:175: note: this is the location of the previous definition #define SIZEOF_VOID_P 4 In file included from ../../../../../../../staging_dir/hostpkg/include/python3.8/Python.h:63, from ../../test.c:426: ../../../../../../../staging_dir/hostpkg/include/python3.8/pyport.h:726:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." ^~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) Could not build a python embedded interpreter from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2: The configuration failed