-
-
Save gxgani/1abdfb52aeaacdac8cb36d200cc7b320 to your computer and use it in GitHub Desktop.
openwrt samba config.log
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mlibdir/lib1.c[0m | |
[2/4] Compiling [32mmain.c[0m | |
['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 [33mdefault/libdir/liblib1.so[0m | |
['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 [33mdefault/prog1[0m | |
['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 [32mlibdir/lib1.c[0m | |
[2/4] Compiling [32mmain.c[0m | |
['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 [33mdefault/libdir/liblib1.so[0m | |
['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 [33mdefault/prog1[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
../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 [33mdefault/testprog[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
['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 [32mtest.c[0m | |
../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 [32mtest.c[0m | |
../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> | |
#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/un.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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/uio.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/uio.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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 ifaddrs.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 <ifaddrs.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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 direct.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 <direct.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: direct.h: No such file or directory | |
#include <direct.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 dirent.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 <dirent.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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 windows.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 <windows.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: windows.h: No such file or directory | |
#include <windows.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 winsock2.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 <winsock2.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: winsock2.h: No such file or directory | |
#include <winsock2.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 ws2tcpip.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 <ws2tcpip.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: ws2tcpip.h: No such file or directory | |
#include <ws2tcpip.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 errno.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 <errno.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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 getopt.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 <getopt.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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 iconv.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 <iconv.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 nss.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 <nss.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: nss.h: No such file or directory | |
#include <nss.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', '-I/usr/local/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 sasl/sasl.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 <sasl/sasl.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sasl/sasl.h: No such file or directory | |
#include <sasl/sasl.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', '-I/usr/local/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 inotify_init | |
==> | |
#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/inotify.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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'] | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define inotify_init __fake__inotify_init | |
#ifdef HAVE_LIMITS_H | |
# include <limits.h> | |
#else | |
# include <assert.h> | |
#endif | |
#undef inotify_init | |
#if defined __stub_inotify_init || defined __stub___inotify_init | |
#error "bad glibc stub" | |
#endif | |
extern char inotify_init(); | |
int main() { return inotify_init(); } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking for header security/pam_appl.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 <security/pam_appl.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: security/pam_appl.h: No such file or directory | |
#include <security/pam_appl.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', '-I/usr/local/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 zlib.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 <zlib.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 asm/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> | |
#include <ctype.h> | |
#include <stdbool.h> | |
#include <stdarg.h> | |
#include <asm/unistd.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 aio.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 <aio.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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/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> | |
#include <ctype.h> | |
#include <stdbool.h> | |
#include <stdarg.h> | |
#include <sys/unistd.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/unistd.h: No such file or directory | |
#include <sys/unistd.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', '-I/usr/local/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 alloca.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 <alloca.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 float.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 <float.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 rpc/rpc.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 <rpc/rpc.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: rpc/rpc.h: No such file or directory | |
#include <rpc/rpc.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', '-I/usr/local/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 rpc/nettype.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 <rpc/nettype.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: rpc/nettype.h: No such file or directory | |
#include <rpc/nettype.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', '-I/usr/local/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 tirpc rpc headers in default system path | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
#include <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 _TIRPC_RPC_H | |
#error "no tirpc headers in system path" | |
#endif | |
; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:126:2: error: #error "no tirpc headers in system path" | |
#error "no tirpc headers in system path" | |
^~~~~ | |
['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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for libtirpc headers | |
/home/openwrt/openwrt/staging_dir/host/bin/pkg-config --cflags --libs libtirpc | |
-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc -L/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib -ltirpc | |
yes | |
------------------------------------------------------------ | |
Checking for header rpc/rpc.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 <rpc/rpc.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '-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 rpc/nettype.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 <rpc/rpc.h> | |
#include <rpc/nettype.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '-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 rpcsvc/yp_prot.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 <rpcsvc/yp_prot.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: rpcsvc/yp_prot.h: No such file or directory | |
#include <rpcsvc/yp_prot.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', '-I/usr/local/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '-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 libnsl | |
/home/openwrt/openwrt/staging_dir/host/bin/pkg-config --cflags --libs libnsl | |
Package libnsl was not found in the pkg-config search path. | |
Perhaps you should add the directory containing `libnsl.pc' | |
to the PKG_CONFIG_PATH environment variable | |
No package 'libnsl' found | |
not found | |
------------------------------------------------------------ | |
Checking for header rpcsvc/nis.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 <rpcsvc/nis.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: rpcsvc/nis.h: No such file or directory | |
#include <rpcsvc/nis.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', '-I/usr/local/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '-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 rpcsvc/ypclnt.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 <rpcsvc/ypclnt.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: rpcsvc/ypclnt.h: No such file or directory | |
#include <rpcsvc/ypclnt.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', '-I/usr/local/include', '-I/home/openwrt/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '-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/sysctl.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/sysctl.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/sysctl.h: No such file or directory | |
#include <sys/sysctl.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', '-I/usr/local/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/fileio.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/fileio.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/fileio.h: No such file or directory | |
#include <sys/fileio.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', '-I/usr/local/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/filesys.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/filesys.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/filesys.h: No such file or directory | |
#include <sys/filesys.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', '-I/usr/local/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/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 <sys/dustat.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/dustat.h: No such file or directory | |
#include <sys/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', '-I/usr/local/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/sysmacros.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/sysmacros.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 xfs/libxfs.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 <xfs/libxfs.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: xfs/libxfs.h: No such file or directory | |
#include <xfs/libxfs.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', '-I/usr/local/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 netgroup.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 <netgroup.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: netgroup.h: No such file or directory | |
#include <netgroup.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', '-I/usr/local/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 valgrind.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 <valgrind.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: valgrind.h: No such file or directory | |
#include <valgrind.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', '-I/usr/local/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 valgrind/valgrind.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 <valgrind/valgrind.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: valgrind/valgrind.h: No such file or directory | |
#include <valgrind/valgrind.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', '-I/usr/local/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 valgrind/memcheck.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 <valgrind/memcheck.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: valgrind/memcheck.h: No such file or directory | |
#include <valgrind/memcheck.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', '-I/usr/local/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 nss_common.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 <nss_common.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: nss_common.h: No such file or directory | |
#include <nss_common.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', '-I/usr/local/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 nsswitch.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 <nsswitch.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: nsswitch.h: No such file or directory | |
#include <nsswitch.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', '-I/usr/local/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 ns_api.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 <ns_api.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: ns_api.h: No such file or directory | |
#include <ns_api.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', '-I/usr/local/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/extattr.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/extattr.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/extattr.h: No such file or directory | |
#include <sys/extattr.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', '-I/usr/local/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/ea.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/ea.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/ea.h: No such file or directory | |
#include <sys/ea.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', '-I/usr/local/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/proplist.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/proplist.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/proplist.h: No such file or directory | |
#include <sys/proplist.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', '-I/usr/local/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/cdefs.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/cdefs.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 utmp.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 <utmp.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 utmpx.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 <utmpx.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 lastlog.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 <lastlog.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 syscall.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 <syscall.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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/syscall.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/syscall.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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/atomic.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/atomic.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c:15:10: fatal error: sys/atomic.h: No such file or directory | |
#include <sys/atomic.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', '-I/usr/local/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 libgen.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 <libgen.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 compiler accepts -Wno-format-truncation | |
==> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-Wno-format-truncation', '-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', '-I/usr/local/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 compiler accepts -Wno-unused-function | |
==> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-Wno-unused-function', '-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', '-I/usr/local/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 compiler accepts -Wno-strict-overflow | |
==> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-Wno-strict-overflow', '-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', '-I/usr/local/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/prctl.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/prctl.h> | |
int main(void) { return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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', '-I/usr/local/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 prctl syscall | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#include <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/prctl.h> | |
int main(void) { | |
#include <sys/prctl.h> | |
int main(void) { | |
prctl(0); | |
return 0; | |
} | |
; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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', '-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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking for O_DIRECT flag to open(2) | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#include <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 <unistd.h> | |
#ifdef HAVE_FCNTL_H | |
#include <fcntl.h> | |
#endif | |
int main(void) { int fd = open("/dev/null", O_DIRECT); } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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', '-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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking for long long | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#include <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) { long long _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for intptr_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#include <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) { intptr_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uintptr_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#include <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) { uintptr_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for ptrdiff_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#include <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) { ptrdiff_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for comparison_fn_t | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
#include <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) { comparison_fn_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:146:19: error: unknown type name 'comparison_fn_t' | |
int main(void) { comparison_fn_t _x; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for _Bool | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#include <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) { _Bool _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for bool | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#include <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) { bool _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for int8_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#include <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) { int8_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uint8_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#include <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) { uint8_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for int16_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#include <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) { int16_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uint16_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#include <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) { uint16_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for int32_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#include <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) { int32_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uint32_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#include <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) { uint32_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for int64_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#include <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) { int64_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uint64_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#include <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) { uint64_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for size_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#include <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) { size_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for ssize_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#include <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) { ssize_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for ino_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#include <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) { ino_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for loff_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
#include <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) { loff_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:160:19: error: unknown type name 'loff_t'; did you mean 'off_t'? | |
int main(void) { loff_t _x; return 0; } | |
^~~~~~ | |
off_t | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for offset_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
#include <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) { offset_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:162:19: error: unknown type name 'offset_t'; did you mean 'offsetof'? | |
int main(void) { offset_t _x; return 0; } | |
^~~~~~~~ | |
offsetof | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for volatile int | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#include <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) { volatile int _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for uint_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
#include <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) { uint_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:165:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'? | |
int main(void) { uint_t _x; return 0; } | |
^~~~~~ | |
uint8_t | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for blksize_t | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#include <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/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
int main(void) { blksize_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for blkcnt_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#include <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/types.h> | |
#include <sys/stat.h> | |
#include <unistd.h> | |
int main(void) { blkcnt_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of bool == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(bool))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of char == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(char))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of int == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:171:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
/* #undef SIZEOF_INT */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:172:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
/* #undef SIZEOF_INT */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of long long == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:172:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of long long == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
/* #undef SIZEOF_LONG_LONG */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:173:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of long long == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
/* #undef SIZEOF_LONG_LONG */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:173:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of long long == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
/* #undef SIZEOF_LONG_LONG */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of long == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:173:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of long == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
/* #undef SIZEOF_LONG */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:174:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of long == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
/* #undef SIZEOF_LONG */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of short == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:174:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of short == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
/* #undef SIZEOF_SHORT */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of size_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:175:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of size_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
/* #undef SIZEOF_SIZE_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:176:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of size_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
/* #undef SIZEOF_SIZE_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of ssize_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:176:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } | |
^~~~~~~~~~ | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of ssize_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
/* #undef SIZEOF_SSIZE_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:177:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of ssize_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
/* #undef SIZEOF_SSIZE_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of int8_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int8_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of uint8_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint8_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of int16_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:179:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int16_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
/* #undef SIZEOF_INT16_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of uint16_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:180:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint16_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
/* #undef SIZEOF_UINT16_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of int32_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:181:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int32_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
/* #undef SIZEOF_INT32_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:182:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int32_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
/* #undef SIZEOF_INT32_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of uint32_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:182:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint32_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
/* #undef SIZEOF_UINT32_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:183:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint32_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
/* #undef SIZEOF_UINT32_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of int64_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:183:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int64_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
/* #undef SIZEOF_INT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:184:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int64_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
/* #undef SIZEOF_INT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:184:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of int64_t == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
/* #undef SIZEOF_INT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of uint64_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:184:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint64_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
/* #undef SIZEOF_UINT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:185:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint64_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
/* #undef SIZEOF_UINT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:185:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of uint64_t == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
/* #undef SIZEOF_UINT64_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of void* == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:185:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of void* == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
/* #undef SIZEOF_VOID_P */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:186:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of void* == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
/* #undef SIZEOF_VOID_P */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of off_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:186:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of off_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
/* #undef SIZEOF_OFF_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:187:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of off_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
/* #undef SIZEOF_OFF_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:187:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of off_t == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
/* #undef SIZEOF_OFF_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of dev_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:187:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of dev_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
/* #undef SIZEOF_DEV_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:188:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of dev_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
/* #undef SIZEOF_DEV_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:188:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of dev_t == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
/* #undef SIZEOF_DEV_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of ino_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:188:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of ino_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
/* #undef SIZEOF_INO_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:189:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of ino_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
/* #undef SIZEOF_INO_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:189:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of ino_t == 8 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
/* #undef SIZEOF_INO_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 8)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking if size of time_t == 1 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:189:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of time_t == 2 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
/* #undef SIZEOF_TIME_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:190:30: error: size of array 'test_array' is negative | |
int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; 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', '-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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking if size of time_t == 4 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
/* #undef SIZEOF_TIME_T */ | |
#include <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) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking for socklen_t | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#include <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) { socklen_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for struct ifaddrs | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#include <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 <ifaddrs.h> | |
int main(void) { struct ifaddrs _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for struct addrinfo | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#include <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 <netdb.h> | |
int main(void) { struct addrinfo _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for struct sockaddr | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#include <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) { struct sockaddr _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for HAVE_STRUCT_SOCKADDR_IN6 | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#include <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 <netdb.h> | |
#include <netinet/in.h> | |
int main(void) { struct sockaddr_in6 x; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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', '-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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
['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', '-L/usr/local/lib'] | |
ok | |
------------------------------------------------------------ | |
Checking for struct sockaddr_storage | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#include <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) { struct sockaddr_storage _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for sa_family_t | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
#include <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) { sa_family_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for sig_atomic_t | |
==> | |
#define CONFIG_H_IS_FROM_SAMBA 1 | |
#define _SAMBA_BUILD_ 4 | |
#define HAVE_CONFIG_H 1 | |
#define SRCDIR "/home/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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
#define HAVE_SA_FAMILY_T 1 | |
#include <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) { sig_atomic_t _x; return 0; } | |
<== | |
[1/1] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
ok | |
------------------------------------------------------------ | |
Checking for sigsetmask | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
#define HAVE_SA_FAMILY_T 1 | |
#define HAVE_SIG_ATOMIC_T_TYPE 1 | |
#define sigsetmask __fake__sigsetmask | |
#ifdef HAVE_LIMITS_H | |
# include <limits.h> | |
#else | |
# include <assert.h> | |
#endif | |
#undef sigsetmask | |
#if defined __stub_sigsetmask || defined __stub___sigsetmask | |
#error "bad glibc stub" | |
#endif | |
extern char sigsetmask(); | |
int main() { return sigsetmask(); } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/7.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: default/test_1.o: in function `main': | |
test.c:(.text.startup.main+0x4): undefined reference to `sigsetmask' | |
collect2: error: ld returned 1 exit status | |
['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', '-L/usr/local/lib'] | |
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
#define HAVE_SA_FAMILY_T 1 | |
#define HAVE_SIG_ATOMIC_T_TYPE 1 | |
/* #undef HAVE_SIGSETMASK */ | |
#include <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) { void *__x = (void *)sigsetmask; return (int)__x; return 0; } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
../test.c: In function 'main': | |
../test.c:199:39: error: 'sigsetmask' undeclared (first use in this function); did you mean 'sigset_t'? | |
int main(void) { void *__x = (void *)sigsetmask; return (int)__x; return 0; } | |
^~~~~~~~~~ | |
sigset_t | |
../test.c:199:39: note: each undeclared identifier is reported only once for each function it appears in | |
['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..', '-I/usr/local/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}'not found | |
------------------------------------------------------------ | |
Checking for siggetmask | |
==> | |
#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 | |
#define HAVE_DECL_MALLOC 1 | |
#define HAVE_GRP_H 1 | |
#define HAVE_SYS_SELECT_H 1 | |
#define HAVE_SETJMP_H 1 | |
#define HAVE_UTIME_H 1 | |
#define HAVE_SYS_SYSLOG_H 1 | |
#define HAVE_SYSLOG_H 1 | |
#define HAVE_SYS_MOUNT_H 1 | |
#define HAVE_MNTENT_H 1 | |
#define HAVE_STROPTS_H 1 | |
#define HAVE_SYS_PARAM_H 1 | |
#define HAVE_SYS_SOCKET_H 1 | |
#define HAVE_NETINET_IN_H 1 | |
#define HAVE_NETDB_H 1 | |
#define HAVE_ARPA_INET_H 1 | |
#define HAVE_NETINET_IN_SYSTM_H 1 | |
#define HAVE_NETINET_IP_H 1 | |
#define HAVE_NETINET_TCP_H 1 | |
#define HAVE_SYS_UN_H 1 | |
#define HAVE_SYS_UIO_H 1 | |
#define HAVE_IFADDRS_H 1 | |
#define HAVE_DIRENT_H 1 | |
#define HAVE_ERRNO_H 1 | |
#define HAVE_GETOPT_H 1 | |
#define HAVE_ICONV_H 1 | |
#define HAVE_SYS_INOTIFY_H 1 | |
#define HAVE_INOTIFY_INIT 1 | |
#define HAVE_ZLIB_H 1 | |
#define HAVE_ASM_UNISTD_H 1 | |
#define HAVE_AIO_H 1 | |
#define HAVE_ALLOCA_H 1 | |
#define HAVE_FLOAT_H 1 | |
/* #undef HAVE_RPC_RPC_HEADERS */ | |
#define HAVE_TIRPC 1 | |
#define HAVE_RPC_RPC_H 1 | |
#define HAVE_RPC_NETTYPE_H 1 | |
#define HAVE_SYS_SYSMACROS_H 1 | |
#define HAVE_SYS_CDEFS_H 1 | |
#define HAVE_UTMP_H 1 | |
#define HAVE_UTMPX_H 1 | |
#define HAVE_LASTLOG_H 1 | |
#define HAVE_SYSCALL_H 1 | |
#define HAVE_SYS_SYSCALL_H 1 | |
#define HAVE_LIBGEN_H 1 | |
#define HAVE_WNO_FORMAT_TRUNCATION "1" | |
#define HAVE_WNO_UNUSED_FUNCTION "1" | |
#define HAVE_WNO_STRICT_OVERFLOW "1" | |
#define HAVE_SYS_PRCTL_H 1 | |
#define HAVE_PRCTL 1 | |
#define HAVE_OPEN_O_DIRECT 1 | |
#define HAVE_LONG_LONG 1 | |
#define HAVE_INTPTR_T 1 | |
#define HAVE_UINTPTR_T 1 | |
#define HAVE_PTRDIFF_T 1 | |
/* #undef HAVE_COMPARISON_FN_T */ | |
#define HAVE__Bool 1 | |
#define HAVE_BOOL 1 | |
#define HAVE_INT8_T 1 | |
#define HAVE_UINT8_T 1 | |
#define HAVE_INT16_T 1 | |
#define HAVE_UINT16_T 1 | |
#define HAVE_INT32_T 1 | |
#define HAVE_UINT32_T 1 | |
#define HAVE_INT64_T 1 | |
#define HAVE_UINT64_T 1 | |
#define HAVE_SIZE_T 1 | |
#define HAVE_SSIZE_T 1 | |
#define HAVE_INO_T 1 | |
/* #undef HAVE_LOFF_T */ | |
#define loff_t off_t | |
/* #undef HAVE_OFFSET_T */ | |
#define offset_t loff_t | |
#define HAVE_VOLATILE 1 | |
/* #undef HAVE_UINT_T */ | |
#define uint_t unsigned int | |
#define HAVE_BLKSIZE_T 1 | |
#define HAVE_BLKCNT_T 1 | |
#define SIZEOF_BOOL 1 | |
#define SIZEOF_CHAR 1 | |
#define SIZEOF_INT 4 | |
#define SIZEOF_LONG_LONG 8 | |
#define SIZEOF_LONG 4 | |
#define SIZEOF_SHORT 2 | |
#define SIZEOF_SIZE_T 4 | |
#define SIZEOF_SSIZE_T 4 | |
#define SIZEOF_INT8_T 1 | |
#define SIZEOF_UINT8_T 1 | |
#define SIZEOF_INT16_T 2 | |
#define SIZEOF_UINT16_T 2 | |
#define SIZEOF_INT32_T 4 | |
#define SIZEOF_UINT32_T 4 | |
#define SIZEOF_INT64_T 8 | |
#define SIZEOF_UINT64_T 8 | |
#define SIZEOF_VOID_P 4 | |
#define SIZEOF_OFF_T 8 | |
#define SIZEOF_DEV_T 8 | |
#define SIZEOF_INO_T 8 | |
#define SIZEOF_TIME_T 4 | |
#define HAVE_SOCKLEN_T 1 | |
#define HAVE_STRUCT_IFADDRS 1 | |
#define HAVE_STRUCT_ADDRINFO 1 | |
#define HAVE_STRUCT_SOCKADDR 1 | |
#define HAVE_STRUCT_SOCKADDR_IN6 1 | |
#define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
#define HAVE_SA_FAMILY_T 1 | |
#define HAVE_SIG_ATOMIC_T_TYPE 1 | |
/* #undef HAVE_SIGSETMASK */ | |
#define siggetmask __fake__siggetmask | |
#ifdef HAVE_LIMITS_H | |
# include <limits.h> | |
#else | |
# include <assert.h> | |
#endif | |
#undef siggetmask | |
#if defined __stub_siggetmask || defined __stub___siggetmask | |
#error "bad glibc stub" | |
#endif | |
extern char siggetmask(); | |
int main() { return siggetmask(); } | |
<== | |
[1/2] Compiling [32mtest.c[0m | |
['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..', '-I/usr/local/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'] | |
[2/2] Linking [33mdefault/testprog[0m | |
/home/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-7.4.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/7.4.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: default/test_1.o: in function `main': | |
test.c:(.text.startup.main+0x4): undefined reference to `siggetmask' | |
collect2: error: ld returned 1 exit status | |
['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+vfp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment