clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/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-14: error: unsupported option '-V -o' clang-14: error: no such file or directory: 'garbage2' clang-14: error: no input files configure:2751:14: 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. configure:3095:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ configure:3202:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/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-14: error: unsupported option '-V -o' clang-14: error: no such file or directory: 'garbage2' clang-14: error: no input files configure:3563:1: error: use of undeclared identifier 'exit' exit (42); ^ In file included from configure:3976: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:4054: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:4132: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:4218: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:4296: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:4374: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/stdlib.h:36: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:41: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39: /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:5085:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ configure:5192:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ clang-14: error: unknown argument: '-frepo' clang-14: error: unknown argument: '-instances=explicit' /usr/bin/x86_64-pc-linux-gnu-ld In file included from configure:6208: 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" ^ configure:6214:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] main () ^ void 2 warnings generated. In file included from configure:6298: 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" ^ configure:6309:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] main () ^ void configure:6314:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(2); ^ configure:6314:7: note: include the header or explicitly provide a declaration for 'exit' In file included from configure:6382: 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 configure:6383: 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 configure:6384: 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 configure:6385: 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 configure:6386: 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 configure:6387: 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 configure:6388: 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 configure:6389: 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 configure:6390: 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 configure:6451: 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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void nm_test_func(){} ^ void 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 ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int main(){nm_test_var='a';nm_test_func();return(0);} ^ void 3 warnings generated. ignoreme: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] main(){return(0);} ^ ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] main(){return(0);} ^ void clang-14: error: cannot specify -o when generating multiple output files error: unable to open output file 'garbage2': 'Permission denied' ignoreme: warning: unused variable 'dummy' [-Wunused-variable] static int dummy; ^ clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/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 garbage2 /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 /usr/bin/x86_64-pc-linux-gnu-ld /usr/bin/x86_64-pc-linux-gnu-ld clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/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 garbage2 /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 'garbage2': 'Permission denied' conftest.cc:1:12: warning: unused variable 'dummy' [-Wunused-variable] static int dummy; ^ clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/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 garbage2 -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 In file included from configure:16675: 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" ^ configure:16681:1: warning: no previous prototype for function 'my_strdup' [-Wmissing-prototypes] my_strdup (char *str) ^ configure:16680:1: note: declare 'static' if the function is not intended to be used outside of this translation unit char* ^ static configure:16707:27: warning: passing 'const char[6]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] tmp_version = my_strdup("1.2.0"); ^~~~~~~ configure:16681:18: note: passing argument to parameter 'str' here my_strdup (char *str) ^ configure:16696:14: warning: unused parameter 'argc' [-Wunused-parameter] int main (int argc, char *argv[]) ^ configure:16696:27: warning: unused parameter 'argv' [-Wunused-parameter] int main (int argc, char *argv[]) ^ 5 warnings generated.