---------------------------------------- checking for C compiler ---------------------------------------- checking for --with-ld-opt="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E" ---------------------------------------- checking for gcc builtin atomic operations ---------------------------------------- checking for C99 variadic macros ---------------------------------------- checking for gcc variadic macros ---------------------------------------- checking for unistd.h ---------------------------------------- checking for inttypes.h ---------------------------------------- checking for limits.h ---------------------------------------- checking for sys/filio.h objs/autotest.c:3:10: fatal error: sys/filio.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. ---------- #include int main() { return 0; } ---------- gcc -o objs/autotest objs/autotest.c ---------- ---------------------------------------- checking for sys/param.h ---------------------------------------- checking for sys/mount.h ---------------------------------------- checking for sys/statvfs.h ---------------------------------------- checking for crypt.h ---------------------------------------- checking for epoll objs/autotest.c: In function 'main': objs/autotest.c:8:38: warning: variable 'ee' set but not used [-Wunused-but-set-variable] 8 | struct epoll_event ee; | ^~ ---------------------------------------- checking for sendfile() ---------------------------------------- checking for sendfile64() ---------------------------------------- checking for sys/prctl.h ---------------------------------------- checking for prctl(PR_SET_DUMPABLE) ---------------------------------------- checking for sched_setaffinity() ---------------------------------------- checking for crypt_r() ---------------------------------------- checking for sys/vfs.h ---------------------------------------- checking for poll() ---------------------------------------- checking for /dev/poll objs/autotest.c:4:10: fatal error: sys/devpoll.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ---------- #include #include #include int main() { int n, dp; struct dvpoll dvp; dp = 0; dvp.dp_fds = NULL; dvp.dp_nfds = 0; dvp.dp_timeout = 0; n = ioctl(dp, DP_POLL, &dvp); if (n == -1) return 1; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for kqueue objs/autotest.c:4:10: fatal error: sys/event.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~ compilation terminated. ---------- #include #include #include int main() { int kq; kq = kqueue(); return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for crypt() /usr/bin/ld: /tmp/ccL15I0G.ltrans0.ltrans.o: in function `main': /home/winex/rpmbuild/BUILD/nginx-1.2.8/:7:(.text.startup+0x17): undefined reference to `crypt' collect2: error: ld returned 1 exit status ---------- #include #include int main() { crypt("test", "salt");; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for crypt() in libcrypt ---------------------------------------- checking for F_READAHEAD objs/autotest.c: In function 'main': objs/autotest.c:7:14: error: 'F_READAHEAD' undeclared (first use in this function) 7 | fcntl(0, F_READAHEAD, 1);; | ^~~~~~~~~~~ objs/autotest.c:7:14: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include int main() { fcntl(0, F_READAHEAD, 1);; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for posix_fadvise() ---------------------------------------- checking for O_DIRECT ---------------------------------------- checking for F_NOCACHE objs/autotest.c: In function 'main': objs/autotest.c:7:14: error: 'F_NOCACHE' undeclared (first use in this function) 7 | fcntl(0, F_NOCACHE, 1);; | ^~~~~~~~~ objs/autotest.c:7:14: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include int main() { fcntl(0, F_NOCACHE, 1);; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for directio() objs/autotest.c: In function 'main': objs/autotest.c:8:5: error: implicit declaration of function 'directio' [-Wimplicit-function-declaration] 8 | directio(0, DIRECTIO_ON);; | ^~~~~~~~ objs/autotest.c:8:17: error: 'DIRECTIO_ON' undeclared (first use in this function) 8 | directio(0, DIRECTIO_ON);; | ^~~~~~~~~~~ objs/autotest.c:8:17: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include #include int main() { directio(0, DIRECTIO_ON);; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for statfs() ---------------------------------------- checking for statvfs() ---------------------------------------- checking for dlopen() ---------------------------------------- checking for sched_yield() ---------------------------------------- checking for SO_SETFIB objs/autotest.c: In function 'main': objs/autotest.c:7:31: error: 'SO_SETFIB' undeclared (first use in this function) 7 | setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 4); | ^~~~~~~~~ objs/autotest.c:7:31: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include int main() { setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 4); return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for SO_ACCEPTFILTER objs/autotest.c: In function 'main': objs/autotest.c:7:31: error: 'SO_ACCEPTFILTER' undeclared (first use in this function); did you mean 'SO_LOCK_FILTER'? 7 | setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0); | ^~~~~~~~~~~~~~~ | SO_LOCK_FILTER objs/autotest.c:7:31: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include int main() { setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0); return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for TCP_DEFER_ACCEPT ---------------------------------------- checking for TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT ---------------------------------------- checking for TCP_INFO ---------------------------------------- checking for accept4() ---------------------------------------- checking for kqueue AIO support objs/autotest.c: In function 'main': objs/autotest.c:8:56: error: 'SIGEV_KEVENT' undeclared (first use in this function) 8 | iocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; | ^~~~~~~~~~~~ objs/autotest.c:8:56: note: each undeclared identifier is reported only once for each function it appears in objs/autotest.c:7:10: warning: variable 'n' set but not used [-Wunused-but-set-variable] 7 | int n; struct aiocb iocb; | ^ ---------- #include #include #include int main() { int n; struct aiocb iocb; iocb.aio_sigevent.sigev_notify = SIGEV_KEVENT; n = aio_read(&iocb); return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for Linux AIO support objs/autotest.c: In function 'main': objs/autotest.c:9:40: warning: variable 'iocb' set but not used [-Wunused-but-set-variable] 9 | struct iocb iocb; | ^~~~ objs/autotest.c:8:10: warning: unused variable 'n' [-Wunused-variable] 8 | int n = SYS_eventfd; | ^ ---------------------------------------- checking for int size ---------------------------------------- checking for long size ---------------------------------------- checking for long long size ---------------------------------------- checking for void * size ---------------------------------------- checking for uint64_t ---------------------------------------- checking for sig_atomic_t ---------------------------------------- checking for sig_atomic_t size ---------------------------------------- checking for socklen_t ---------------------------------------- checking for in_addr_t ---------------------------------------- checking for in_port_t ---------------------------------------- checking for rlim_t checking for uintptr_t checking for system byte ordering ---------------------------------------- checking for size_t size ---------------------------------------- checking for off_t size ---------------------------------------- checking for time_t size ---------------------------------------- checking for AF_INET6 objs/autotest.c: In function 'main': objs/autotest.c:9:26: warning: variable 'sin6' set but not used [-Wunused-but-set-variable] 9 | struct sockaddr_in6 sin6; | ^~~~ ---------------------------------------- checking for setproctitle() objs/autotest.c: In function 'main': objs/autotest.c:7:5: error: implicit declaration of function 'setproctitle' [-Wimplicit-function-declaration] 7 | setproctitle("test");; | ^~~~~~~~~~~~ ---------- #include #include #include int main() { setproctitle("test");; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for pread() ---------------------------------------- checking for pwrite() objs/autotest.c: In function 'main': objs/autotest.c:7:33: warning: 'buf' is used uninitialized [-Wuninitialized] 7 | char buf[1]; ssize_t n; n = pwrite(1, buf, 1, 0); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from objs/autotest.c:2: /usr/include/unistd.h:408:16: note: in a call to '*pwrite64' declared with attribute 'access (read_only, 2, 3)' here 408 | extern ssize_t __REDIRECT (pwrite, (int __fd, const void *__buf, | ^~~~~~~~~~ objs/autotest.c:7:10: note: 'buf' declared here 7 | char buf[1]; ssize_t n; n = pwrite(1, buf, 1, 0); | ^~~ ---------------------------------------- checking for sys_nerr objs/autotest.c: In function 'main': objs/autotest.c:8:18: error: 'sys_nerr' undeclared (first use in this function) 8 | printf("%d", sys_nerr);; | ^~~~~~~~ objs/autotest.c:8:18: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include #include int main() { printf("%d", sys_nerr);; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for _sys_nerr objs/autotest.c: In function 'main': objs/autotest.c:8:18: error: '_sys_nerr' undeclared (first use in this function) 8 | printf("%d", _sys_nerr);; | ^~~~~~~~~ objs/autotest.c:8:18: note: each undeclared identifier is reported only once for each function it appears in ---------- #include #include #include #include int main() { printf("%d", _sys_nerr);; return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for maximum errno 41 ---------------------------------------- checking for localtime_r() ---------------------------------------- checking for posix_memalign() ---------------------------------------- checking for memalign() ---------------------------------------- checking for mmap(MAP_ANON|MAP_SHARED) ---------------------------------------- checking for mmap("/dev/zero", MAP_SHARED) ---------------------------------------- checking for System V shared memory ---------------------------------------- checking for POSIX semaphores ---------------------------------------- checking for struct msghdr.msg_control ---------------------------------------- checking for ioctl(FIONBIO) ---------------------------------------- checking for struct tm.tm_gmtoff ---------------------------------------- checking for struct dirent.d_namlen objs/autotest.c: In function 'main': objs/autotest.c:8:29: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'? 8 | struct dirent dir; dir.d_namlen = 0; | ^~~~~~~~ | d_name objs/autotest.c:9:42: error: 'struct dirent' has no member named 'd_namlen'; did you mean 'd_name'? 9 | printf("%d", (int) dir.d_namlen); | ^~~~~~~~ | d_name objs/autotest.c:8:20: warning: variable 'dir' set but not used [-Wunused-but-set-variable] 8 | struct dirent dir; dir.d_namlen = 0; | ^~~ ---------- #include #include #include #include int main() { struct dirent dir; dir.d_namlen = 0; printf("%d", (int) dir.d_namlen); return 0; } ---------- gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-E ---------- ---------------------------------------- checking for struct dirent.d_type ---------------------------------------- checking for sysconf(_SC_NPROCESSORS_ONLN) ---------------------------------------- checking for openat(), fstatat() ---------------------------------------- checking for PCRE library ---------------------------------------- checking for PCRE JIT support ---------------------------------------- checking for OpenSSL library ---------------------------------------- checking for zlib library ---------------------------------------- checking for libxslt ---------------------------------------- checking for libexslt ---------------------------------------- checking for GD library objs/autotest.c: In function 'main': objs/autotest.c:7:16: warning: unused variable 'img' [-Wunused-variable] 7 | gdImagePtr img = gdImageCreateFromGifPtr(1, NULL);; | ^~~ ---------------------------------------- checking for GeoIP library ---------------------------------------- checking for GeoIP IPv6 support