Skip to content

Instantly share code, notes, and snippets.

@gxgani gxgani/config.log Secret
Created Jul 9, 2019

Embed
What would you like to do?
openwrt samba config.log
This file has been truncated, but you can view the full file.
# project samba configured on Tue Jul 9 13:53:31 2019 by
# waf 1.5.19 (abi 7, python 20705f0 on linux2)
# 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 --hostcc=gcc --cross-compile --cross-answers=cross-answers.txt --disable-cups --disable-iprint --disable-cephfs --disable-fault-handling --disable-glusterfs --disable-rpath --disable-rpath-install --disable-rpath-private-install --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-quotas --without-acl-support --without-ad-dc --without-json-audit --without-libarchive --disable-python --nopyc --nopyo --disable-gnutls --without-dnsupdate --without-ads --without-ldap --without-winbind --with-static-modules=vfs_default,auth_builtin,auth_sam,auth_unix,auth_script,pdb_smbpasswd,pdb_tdbsam,!DEFAULT,!FORCED --with-shared-modules=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,!DEFAULT,!FORCED --builtin-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka --bundled-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,NONE --private-libraries=talloc,tevent,tevent-util,texpect,tdb,ldb,tdr,cmocka,replace
#
----------------------------------------
Checking for program gcc or cc
find program=['gcc', 'cc'] paths=[] var='CC'
-> 'arm-openwrt-linux-muslgnueabi-gcc'
----------------------------------------
Checking for program ar
find program=['ar'] paths=[] var='AR'
-> 'arm-openwrt-linux-muslgnueabi-gcc-ar'
----------------------------------------
Checking for program ranlib
find program=['ranlib'] paths=[] var='RANLIB'
-> 'arm-openwrt-linux-muslgnueabi-gcc-ranlib'
----------------------------------------
Checking for gcc
ok
----------------------------------------
Checking for program git
find program=['git'] paths=[] var='GIT'
-> '/home/openwrt/openwrt/staging_dir/host/bin/git'
----------------------------------------
Check for -MD
==>
int main() {return 0;}
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/test_1.o']
yes
----------------------------------------
Checking for program gdb
find program=['gdb'] paths=[] var=None
-> '/usr/bin/gdb'
----------------------------------------
Checking for header sys/utsname.h
==>
#include <sys/utsname.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking uname sysname type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#include <sys/utsname.h>
int main(void) {
int printf(const char *format, ...);
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.sysname);
; return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
Linux
returncode 0
Linux
----------------------------------------
Checking uname machine type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#include <sys/utsname.h>
int main(void) {
int printf(const char *format, ...);
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.machine);
; return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
arm
returncode 0
arm
----------------------------------------
Checking uname release type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#include <sys/utsname.h>
int main(void) {
int printf(const char *format, ...);
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.release);
; return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
4.19.56
returncode 0
4.19.56
----------------------------------------
Checking uname version type
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#include <sys/utsname.h>
int main(void) {
int printf(const char *format, ...);
struct utsname n;
if (uname(&n) == -1) return -1;
printf("%s", n.version);
; return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
OpenWrt Linux-4.19.56 2019-07-09
returncode 0
OpenWrt Linux-4.19.56 2019-07-09
----------------------------------------
Checking for header stdio.h
==>
#include <stdio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking simple C program
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#include <stdio.h>
int main(void) { printf("hello world"); return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
hello world
returncode 0
ok
----------------------------------------
Checking compiler accepts ['-Werror']
==>
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-Werror', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
----------------------------------------
Checking linker accepts ['-Wl,-rpath,.']
==>
int main(void) { return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,-rpath,.']
yes
[1/4] Compiling libdir/lib1.c
[2/4] Compiling main.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-fPIC', '-DPIC', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../libdir/lib1.c', '-c', '-o', 'default/libdir/lib1_1.o']
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../main.c', '-c', '-o', 'default/main_2.o']
[3/4] Linking default/libdir/liblib1.so
['arm-openwrt-linux-muslgnueabi-gcc', 'default/libdir/lib1_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/libdir/liblib1.so', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-shared']
[4/4] Linking default/prog1
['arm-openwrt-linux-muslgnueabi-gcc', 'default/main_2.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/prog1', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,-rpath,/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/libdir', '-Ldefault/libdir', '-Wl,-Bdynamic', '-llib1']
returncode 0
----------------------------------------
Checking for rpath library support
ok
[1/4] Compiling libdir/lib1.c
[2/4] Compiling main.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-fPIC', '-DPIC', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../libdir/lib1.c', '-c', '-o', 'default/libdir/lib1_1.o']
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../main.c', '-c', '-o', 'default/main_2.o']
[3/4] Linking default/libdir/liblib1.so
['arm-openwrt-linux-muslgnueabi-gcc', 'default/libdir/lib1_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/libdir/liblib1.so', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,--version-script=/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/vscript', '-shared']
[4/4] Linking default/prog1
['arm-openwrt-linux-muslgnueabi-gcc', 'default/main_2.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/prog1', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,-rpath,/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/libdir', '-Ldefault/libdir', '-Wl,-Bdynamic', '-llib1']
returncode 0
------------------------------------------
Checking for -Wl,--version-script support
ok
------------------------------------------------------------
Checking compiler accepts ['-fvisibility=hidden', '-Werror']
==>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-fvisibility=hidden', '-Werror', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for HAVE_VISIBILITY_ATTR
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-fvisibility=hidden', '-Werror', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.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 "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-Werror', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.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 "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-Werror', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.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 "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-Werror', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
ok
------------------------------------------------------------
Checking compiler accepts ['-fPIC']
==>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-fPIC', '-Werror', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for inline
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define 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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '../test.c', '-c', '-o', 'default/test_1.o']
inline
------------------------------------------------------------
Checking for program pkg-config
find program=['pkg-config'] paths=[] var='PKGCONFIG'
-> '/home/openwrt/openwrt/staging_dir/host/bin/pkg-config'
------------------------------------------------------------
Checking for pkg-config version >= 0.0.0
/home/openwrt/openwrt/staging_dir/host/bin/pkg-config --atleast-pkgconfig-version=0.0.0
yes
------------------------------------------------------------
Checking compiler accepts ['']
==>
struct foo {int x;char y;};
struct foo bar = { .y = 'X', .x = 1 };
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-Werror', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/types.h
==>
#include <stdio.h>
#include <sys/types.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/stat.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdlib.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stddef.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header memory.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header string.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header strings.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdint.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header unistd.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header minix/config.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <minix/config.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:12:10: fatal error: minix/config.h: No such file or directory
#include <minix/config.h>
^~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header ctype.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header standards.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <standards.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:13:10: fatal error: standards.h: No such file or directory
#include <standards.h>
^~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header stdbool.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stdarg.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header vararg.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <vararg.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: vararg.h: No such file or directory
#include <vararg.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header limits.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <limits.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header assert.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <assert.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking getconf LFS_CFLAGS
not found
------------------------------------------------------------
Checking for large file support without additional flags
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) { return !(sizeof(off_t) >= 8); return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
returncode 0
ok
------------------------------------------------------------
Checking for header sys/time.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header time.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/time.h>
#include <time.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header endian.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/endian.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/endian.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/endian.h: No such file or directory
#include <sys/endian.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for HAVE_LITTLE_ENDIAN
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
#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 test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.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 "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <endian.h>
#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 test.c
../test.c:71:26: error: #error Not big endian.
#error Not big endian.
^~~~~
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for header signal.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking if signal handlers return int
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <signal.h>
int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }
<==
[1/2] Compiling test.c
../test.c: In function 'main':
../test.c:60:28: error: void value not ignored as it ought to be
int main(void) { return *(signal (0, 0)) (0) == 1; return 0; }
~^~~~~~~~~~~~~~~~~~
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'not found
------------------------------------------------------------
Checking for variable __FUNCTION__
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) {
#ifndef __FUNCTION__
void *_x; _x=(void *)&__FUNCTION__; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for va_copy
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) { va_list ap1,ap2; va_copy(ap1,ap2); return 0; }
<==
[1/2] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.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 "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
int main(void) {
#define eprintf(...) fprintf(stderr, __VA_ARGS__)
eprintf("bla", "bar")
; return 0; }
<==
[1/2] Compiling test.c
../test.c: In function 'main':
../test.c:65:29: warning: too many arguments for format [-Wformat-extra-args]
eprintf("bla", "bar")
^
../test.c:64:58: note: in definition of macro 'eprintf'
#define eprintf(...) fprintf(stderr, __VA_ARGS__)
^~~~~~~~~~~
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-I/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/lib/replace/../../buildtools/wafsamba', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['arm-openwrt-linux-muslgnueabi-gcc', 'default/test_1.o', '-o', '/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8/bin/.conf_check_0/testbuild/default/testprog', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/lib', '-L/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections']
ok
------------------------------------------------------------
Checking for header linux/types.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <linux/types.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header crypt.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <crypt.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header locale.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <locale.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header acl/libacl.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <acl/libacl.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: acl/libacl.h: No such file or directory
#include <acl/libacl.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header compat.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <compat.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: compat.h: No such file or directory
#include <compat.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header attr/xattr.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <attr/xattr.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: attr/xattr.h: No such file or directory
#include <attr/xattr.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header dustat.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <dustat.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: dustat.h: No such file or directory
#include <dustat.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header fcntl.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <fcntl.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header fnmatch.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <fnmatch.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header glob.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <glob.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header history.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <history.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: history.h: No such file or directory
#include <history.h>
^~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header krb5.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <krb5.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: krb5.h: No such file or directory
#include <krb5.h>
^~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header langinfo.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <langinfo.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header libaio.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <libaio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: libaio.h: No such file or directory
#include <libaio.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header ndir.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <ndir.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: ndir.h: No such file or directory
#include <ndir.h>
^~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header pwd.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <pwd.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header shadow.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <shadow.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/acl.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/acl.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
^~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/attributes.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/attributes.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/attributes.h: No such file or directory
#include <sys/attributes.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header attr/attributes.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <attr/attributes.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/capability.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/capability.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/capability.h: No such file or directory
#include <sys/capability.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/dir.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/dir.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/epoll.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/epoll.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header port.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <port.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: port.h: No such file or directory
#include <port.h>
^~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fcntl.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fcntl.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
In file included from ../test.c:15:0:
/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Wcpp]
#warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
^~~~~~~
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/filio.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/filio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/filio.h: No such file or directory
#include <sys/filio.h>
^~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/filsys.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/filsys.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/filsys.h: No such file or directory
#include <sys/filsys.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fs/s5param.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fs/s5param.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/fs/s5param.h: No such file or directory
#include <sys/fs/s5param.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/fs/vx/quota.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/fs/vx/quota.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/fs/vx/quota.h: No such file or directory
#include <sys/fs/vx/quota.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/id.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/id.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/id.h: No such file or directory
#include <sys/id.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/ioctl.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ioctl.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/ipc.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ipc.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mman.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mman.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mode.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mode.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/mode.h: No such file or directory
#include <sys/mode.h>
^~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/ndir.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ndir.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/ndir.h: No such file or directory
#include <sys/ndir.h>
^~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/priv.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/priv.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/priv.h: No such file or directory
#include <sys/priv.h>
^~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/resource.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/resource.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/security.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/security.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/security.h: No such file or directory
#include <sys/security.h>
^~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/shm.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/shm.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/statfs.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/statfs.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/statvfs.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/statvfs.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/termio.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/termio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: sys/termio.h: No such file or directory
#include <sys/termio.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/vfs.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/vfs.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/xattr.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/xattr.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header termio.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <termio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: termio.h: No such file or directory
#include <termio.h>
^~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header termios.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <termios.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/file.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/file.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/ucontext.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/ucontext.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/wait.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/wait.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for declaration of malloc
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define SRCDIR "/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "arm"
#define SYSTEM_UNAME_RELEASE "4.19.56"
#define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.56 2019-07-09"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_CONSTRUCTOR_ATTRIBUTE 1
#define HAVE_DESTRUCTOR_ATTRIBUTE 1
#define HAVE___ATTRIBUTE__ 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
#define HAVE_ENDIAN_H 1
#define HAVE_LITTLE_ENDIAN 1
/* #undef HAVE_BIG_ENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 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 <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stdlib.h>
int main(void) {
#ifndef malloc
void *_x; _x=(void *)&malloc; return (int)_x;
#endif
return 0
; return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-Idefault', '-I..', '-Idefault', '-I..', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
ok
------------------------------------------------------------
Checking for header grp.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <grp.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/select.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/select.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header setjmp.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <setjmp.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header utime.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <utime.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/syslog.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/syslog.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header syslog.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <syslog.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/mount.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/mount.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header mntent.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <mntent.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header stropts.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <stropts.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header unix.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <unix.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:15:10: fatal error: unix.h: No such file or directory
#include <unix.h>
^~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/param.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/param.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header sys/socket.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netdb.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header arpa/inet.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in_systm.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/ip.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/tcp.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
yes
------------------------------------------------------------
Checking for header netinet/in_ip.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <netinet/in_ip.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:22:10: fatal error: netinet/in_ip.h: No such file or directory
#include <netinet/in_ip.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/sockio.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>
#include <sys/sockio.h>
int main(void) { return 0; }
<==
[1/1] Compiling test.c
../test.c:22:10: fatal error: sys/sockio.h: No such file or directory
#include <sys/sockio.h>
^~~~~~~~~~~~~~
compilation terminated.
['arm-openwrt-linux-muslgnueabi-gcc', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-iremap/home/openwrt/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.9.8:samba-4.9.8', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MD', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/usr/include', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include/fortify', '-I/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc test.c -> test_1.o}'no
------------------------------------------------------------
Checking for header sys/un.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>