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 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: error: unknown type name 'choke' choke me ^ ignoreme: error: expected ';' after top level declarator choke me ^ ; 2 errors generated. ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.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: no such file or directory: 'garbage' clang-15: error: no input files conftest.cc:15:1: error: use of undeclared identifier 'exit' exit (42); ^ conftest.cc:11:17: error: use of undeclared identifier 'std' extern "C" void std::exit (int) throw (); using std::exit; ^ conftest.cc:11:49: error: use of undeclared identifier 'std' extern "C" void std::exit (int) throw (); using std::exit; ^ 2 errors generated. conftest.cc:11:17: error: use of undeclared identifier 'std' extern "C" void std::exit (int); using std::exit; ^ conftest.cc:11:40: error: use of undeclared identifier 'std' extern "C" void std::exit (int); using std::exit; ^ 2 errors generated. conftest.cc:14:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ conftest.cc:14:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld In file included from conftest.c:15: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:15: In file included from /usr/include/ctype.h:25: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ignoreme: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(2); ^ ignoreme: note: include the header or explicitly provide a declaration for 'exit' In file included from conftest.c:15: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:16: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:17: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:18: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:19: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:20: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:21: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:22: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:23: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:24: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ignoreme: warning: no previous prototype for function 'nm_test_func' [-Wmissing-prototypes] void nm_test_func(){} ^ ignoreme: note: declare 'static' if the function is not intended to be used outside of this translation unit void nm_test_func(){} ^ static error: unable to open output file 'garbage': 'Permission denied' 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 In file included from conftest.c:35: In file included from /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/limits.h:21: In file included from /usr/include/limits.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/x11-misc/lineak-xosdplugin-0.9.0-r2/temp/conftest.o: in function `main': conftest.c:(.text+0xc): undefined reference to `shl_load' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/x11-misc/lineak-xosdplugin-0.9.0-r2/temp/conftest.o:(.data+0x0): undefined reference to `shl_load' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ldld: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) In file included from conftest.c:35: In file included from /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/limits.h:21: In file included from /usr/include/limits.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from configure:10961: In file included from /usr/include/dlfcn.h:22: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ configure:11002:20: warning: unused variable 'i' [-Wunused-variable] void fnord() { int i=42;} ^ configure:11002:6: warning: no previous prototype for function 'fnord' [-Wmissing-prototypes] void fnord() { int i=42;} ^ configure:11002:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void fnord() { int i=42;} ^ static configure:11015:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit (status); ^ configure:11015:5: note: include the header or explicitly provide a declaration for 'exit' /usr/bin/x86_64-pc-linux-gnu-ld /usr/bin/x86_64-pc-linux-gnu-ld 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 error: unable to open output file 'garbage': 'Permission denied' In file included from conftest.c:26: In file included from /usr/include/X11/Xlib.h:38: In file included from /usr/include/sys/types.h:25: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from conftest.c:28: In file included from /usr/include/stdio.h:27: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] { ^