docheck.c: #include "config.h" int main(int argc, char **argv) { return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { char x[sizeof(time_t) > 4 ? 1 : -1] = {0}; return x[0]; return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { return (int) pow(2.0, log(sqrt((double)argc))); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { struct in_pktinfo ipi; return sizeof (ipi.ipi_spec_dst.s_addr) + IP_PKTINFO; return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include #include int main(int argc, char **argv) { struct sockaddr_in6 n; char p[100]; n.sin6_addr = in6addr_any; return !inet_ntop(AF_INET6, &n.sin6_addr.s6_addr, p, sizeof(p)); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { return sizeof (struct in6_pktinfo) + IPV6_PKTINFO; return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { clock_gettime(CLOCK_REALTIME, NULL); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include #include int main(int argc, char **argv) { return getaddrinfo(0, 0, 0, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { return pthread_create((void *)1, NULL, (void *)1, NULL); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { arc4random_buf(NULL, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: In function 'main': docheck.c:4:1: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] arc4random_buf(NULL, 0); ^~~~~~~~~~~~~~ /tmp/cci6Awd5.o: In function `main': /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/build/chrony-3.2/docheck.c:4: undefined reference to `arc4random_buf' collect2: error: ld returned 1 exit status docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { return getrandom(NULL, 256, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c:3:24: fatal error: sys/random.h: No such file or directory #include ^ compilation terminated. docheck.c: #include "config.h" #include int main(int argc, char **argv) { struct mmsghdr hdr; return !recvmmsg(0, &hdr, 1, MSG_DONTWAIT, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: In function 'main': docheck.c:5:18: error: storage size of 'hdr' isn't known struct mmsghdr hdr; ^~~ docheck.c:6:11: warning: implicit declaration of function 'recvmmsg' [-Wimplicit-function-declaration] return !recvmmsg(0, &hdr, 1, MSG_DONTWAIT, 0); ^~~~~~~~ docheck.c: #include "config.h" #include int main(int argc, char **argv) { struct mmsghdr hdr; return !recvmmsg(0, &hdr, 1, MSG_DONTWAIT, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -o docheck docheck.c docheck.c: #include "config.h" #include #include #include #include #include int main(int argc, char **argv) { int val = SOF_TIMESTAMPING_SOFTWARE | SOF_TIMESTAMPING_RX_SOFTWARE | SOF_TIMESTAMPING_RAW_HARDWARE | SOF_TIMESTAMPING_OPT_CMSG; return sizeof (struct scm_timestamping) + SCM_TSTAMP_SND + PTP_SYS_OFFSET + setsockopt(0, SOL_SOCKET, SO_SELECT_ERR_QUEUE + SO_TIMESTAMPING, &val, sizeof (val)); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include #include int main(int argc, char **argv) { struct scm_ts_pktinfo pktinfo; pktinfo.if_index = pktinfo.pkt_length = 0; return pktinfo.if_index + pktinfo.pkt_length + HWTSTAMP_FILTER_NTP_ALL + SOF_TIMESTAMPING_OPT_PKTINFO + SOF_TIMESTAMPING_OPT_TX_SWHW; return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c:2:25: fatal error: sys/timepps.h: No such file or directory #include ^ compilation terminated. docheck.c: #include "config.h" #include int main(int argc, char **argv) { return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c:2:21: fatal error: timepps.h: No such file or directory #include ^ compilation terminated. docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { ioctl(1, RTC_UIE_ON&RTC_UIE_OFF&RTC_RD_TIME&RTC_SET_TIME, 0&RTC_UF); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { ioctl(1, PTP_CLOCK_GETCAPS + PTP_SYS_OFFSET, 0); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include int main(int argc, char **argv) { struct sched_param sched; sched_get_priority_max(SCHED_FIFO); sched_setscheduler(0, SCHED_FIFO, &sched); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { struct rlimit rlim; setrlimit(RLIMIT_MEMLOCK, &rlim); mlockall(MCL_CURRENT|MCL_FUTURE); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c docheck.c: #include "config.h" #include #include int main(int argc, char **argv) { add_history(readline("prompt")); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c -ledit docheck.c:3:31: fatal error: editline/readline.h: No such file or directory #include ^ compilation terminated. docheck.c: #include "config.h" #include #include #include int main(int argc, char **argv) { add_history(readline("prompt")); return 0; } /usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g2 -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o docheck docheck.c -lreadline