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 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: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'minix/config.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'minix/config.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 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 error: unknown warning option '-Wdiscarded-qualifiers'; did you mean '-Wignored-qualifiers'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wmissing-parameter-type' [-Werror,-Wunknown-warning-option] ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] main () ^ void /usr/bin/x86_64-pc-linux-gnu-ld clang-15: error: unsupported option '-V -o' 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 "/usr/bin/x86_64-pc-linux-gnu-ld" --eh-frame-hdr -m elf_x86_64 -shared -o garbage /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib conftest.o -soname conftest -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crtn.o programs: =/usr/lib/llvm/15/bin:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin libraries: =/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64:/lib/../lib64:/usr/lib/../lib64:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib:/lib:/usr/lib clang-15: error: unsupported option '-print-multi-os-directory' conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ conftest.cpp:28:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld /usr/bin/x86_64-pc-linux-gnu-ld clang-15: error: unsupported option '-V -o' 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 "/usr/bin/x86_64-pc-linux-gnu-ld" --eh-frame-hdr -m elf_x86_64 -shared -o garbage /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib conftest.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crtn.o /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/lttng-tools-2.13.7/temp/conftest.o: in function `yylex': conftest.c:(.text+0x438): undefined reference to `yywrap' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.c:(.text+0xa01): undefined reference to `yywrap' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/lttng-tools-2.13.7/temp/conftest.o: in function `main': conftest.c:(.text+0x1d17): undefined reference to `yywrap' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: overflow in expression; result is -2147483648 with type 'int' [-Winteger-overflow] < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; ^ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: warning: overflow in expression; result is -9223372036854775808 with type 'long' [-Winteger-overflow] < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; ^ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((mode_t))) ^ ignoreme: error: expected expression if (sizeof ((off_t))) ^ ignoreme: error: expected expression if (sizeof ((pid_t))) ^ ignoreme: error: expected expression if (sizeof ((size_t))) ^ ignoreme: error: expected expression if (sizeof ((ssize_t))) ^ ignoreme: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] char bzero (); ^ ignoreme: note: 'bzero' is a builtin with type 'void (void *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/lttng-tools-2.13.7/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `fls' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'memchr' [-Wincompatible-library-redeclaration] char memchr (); ^ ignoreme: note: 'memchr' is a builtin with type 'void *(const void *, int, unsigned long)' 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 '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 'strcspn' [-Wincompatible-library-redeclaration] char strcspn (); ^ ignoreme: note: 'strcspn' is a builtin with type 'unsigned long (const char *, const char *)' 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 '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 'strndup' [-Wincompatible-library-redeclaration] char strndup (); ^ ignoreme: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration] char strpbrk (); ^ ignoreme: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)' ignoreme: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration] char strrchr (); ^ ignoreme: note: 'strrchr' is a builtin with type 'char *(const char *, int)' ignoreme: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration] char strstr (); ^ ignoreme: note: 'strstr' is a builtin with type 'char *(const char *, const char *)' 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)' ignoreme: warning: incompatible redeclaration of library function 'strtoul' [-Wincompatible-library-redeclaration] char strtoul (); ^ ignoreme: note: 'strtoul' is a builtin with type 'unsigned long (const char *, char **, int)' ignoreme: warning: incompatible redeclaration of library function 'strtoull' [-Wincompatible-library-redeclaration] char strtoull (); ^ ignoreme: note: 'strtoull' is a builtin with type 'unsigned long long (const char *, char **, int)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/lttng-tools-2.13.7/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getipnodebyname' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: error: too few arguments to function call, expected 2, have 1 pthread_setname_np("example") ~~~~~~~~~~~~~~~~~~ ^ /usr/include/pthread.h:463:12: note: 'pthread_setname_np' declared here extern int pthread_setname_np (pthread_t __target_thread, const char *__name) ^ ignoreme: error: call to undeclared function 'pthread_set_name_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pthread_set_name_np(pthread_self(), "example") ^ ignoreme: note: did you mean 'pthread_setname_np'? /usr/include/pthread.h:463:12: note: 'pthread_setname_np' declared here extern int pthread_setname_np (pthread_t __target_thread, const char *__name) ^ ignoreme: error: too few arguments to function call, expected 3, have 2 pthread_getname_np(lttng_pthread_name, LTTNG_PTHREAD_NAMELEN) ~~~~~~~~~~~~~~~~~~ ^ /usr/include/pthread.h:458:12: note: 'pthread_getname_np' declared here extern int pthread_getname_np (pthread_t __target_thread, char *__buf, ^ ignoreme: error: call to undeclared function 'pthread_get_name_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pthread_get_name_np(pthread_self(), lttng_pthread_name, LTTNG_PTHREAD_NAMELEN) ^ ignoreme: note: did you mean 'pthread_getname_np'? /usr/include/pthread.h:458:12: note: 'pthread_getname_np' declared here extern int pthread_getname_np (pthread_t __target_thread, char *__buf, ^ ignoreme: warning: left operand of comma operator has no effect [-Wunused-value] return clock_gettime, timer_create, timer_settime, timer_delete (); ^~~~~~~~~~~~~ ignoreme: warning: left operand of comma operator has no effect [-Wunused-value] return clock_gettime, timer_create, timer_settime, timer_delete (); ^~~~~~~~~~~~ ignoreme: warning: left operand of comma operator has no effect [-Wunused-value] return clock_gettime, timer_create, timer_settime, timer_delete (); ^~~~~~~~~~~~~ 3 warnings generated. /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lpfm: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'sys/sdt.h' file not found #include ^~~~~~~~~~~