clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 clang-15: error: unsupported option '-V -o' clang-15: error: no such file or directory: 'garbage' clang-15: error: no input files clang-15: error: unknown argument '-qversion'; did you mean '--version'? clang-15: error: no input files clang-15: error: unknown argument '-version'; did you mean '--version'? clang-15: error: no input files ignoreme: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *e (p, i) ^ ignoreme: fatal error: 'minix/config.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'vfork.h' file not found #include ^~~~~~~~~ clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 clang-15: error: unsupported option '-V -o' clang-15: error: unknown argument '-qversion'; did you mean '--version'? clang-15: error: no input files clang-15: error: unknown argument '-version'; did you mean '--version'? clang-15: error: no input files ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((pid_t))) ^ ignoreme: error: expected expression if (sizeof ((size_t))) ^ ignoreme: error: expected expression if (sizeof ((off_t))) ^ ignoreme: warning: function declared 'noreturn' should not return [-Winvalid-noreturn] __attribute__((noreturn)) void f(int x) { printf("%d", x); } ^ ignoreme: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] char a = 255, b = 0; ~ ^~~ ignoreme: fatal error: 'tcpd.h' file not found #include ^~~~~~~~ ignoreme: warning: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] int testing (void) { struct tm t; const char *timestr="201201"; return strptime(timestr, "%Y%m", &t) != 0; } ^ ignoreme: error: too few arguments to function call, expected 2, have 1 (void)mkdir("directory"); ~~~~~ ^ /usr/include/sys/stat.h:389:12: note: 'mkdir' declared here extern int mkdir (const char *__path, __mode_t __mode) ^ ignoreme: error: expected expression if (sizeof ((in_addr_t))) ^ ignoreme: error: no member named 'st_mtimensec' in 'struct stat' if (ac_aggr.st_mtimensec) ~~~~~~~ ^ ignoreme: error: no member named 'st_mtimensec' in 'struct stat' if (sizeof ac_aggr.st_mtimensec) ~~~~~~~ ^ ignoreme: error: no member named 'sun_len' in 'struct sockaddr_un' if (ac_aggr.sun_len) ~~~~~~~ ^ ignoreme: error: no member named 'sun_len' in 'struct sockaddr_un' if (sizeof ac_aggr.sun_len) ~~~~~~~ ^ ignoreme: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration] char vfork (); ^ ignoreme: note: 'vfork' is a builtin with type 'int (void)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `arc4random' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `arc4random_uniform' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration] char memset (); ^ ignoreme: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration] char memcpy (); ^ ignoreme: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp (); ^ ignoreme: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' ignoreme: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration] char strchr (); ^ ignoreme: note: 'strchr' is a builtin with type 'char *(const char *, int)' ignoreme: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] char strdup (); ^ ignoreme: note: 'strdup' is a builtin with type 'char *(const char *)' ignoreme: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror (); ^ ignoreme: note: 'strerror' is a builtin with type 'char *(int)' ignoreme: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration] char strncasecmp (); ^ ignoreme: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'strtol' [-Wincompatible-library-redeclaration] char strtol (); ^ ignoreme: note: 'strtol' is a builtin with type 'long (const char *, char **, int)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: error: expected expression if (sizeof ((struct mmsghdr))) ^ ignoreme: fatal error: 'sys/cpuset.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((cpu_set_t))) ^ ignoreme: error: use of undeclared identifier 'cpuset_t' if (sizeof (cpuset_t)) ^ ignoreme: error: use of undeclared identifier 'cpuid_t' if (sizeof (cpuid_t)) ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_create' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_destroy' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_zero' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_set' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_clr' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_isset' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_size' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf (); ^ ignoreme: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' ignoreme: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration] char strlcat (); ^ ignoreme: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcat' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration] char strlcpy (); ^ ignoreme: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcpy' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `b64_pton' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `b64_ntop' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] char memmove (); ^ ignoreme: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setproctitle' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: error: expected expression if (sizeof ((struct timespec))) ^ ignoreme: fatal error: 'openssl/core_names.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_cleanup' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ERR_load_crypto_strings' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_new' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_set_params' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_get_mac_size' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `SSL_get1_peer_certificate' clang-15: error: linker command failed with exit code 1 (use -v to see invocation)