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) ^ 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 conftest.cpp:185:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] cxx11test::delegate d2(); ^~ conftest.cpp:185:25: note: remove parentheses to declare a variable cxx11test::delegate d2(); ^~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ conftest.cpp:19:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ conftest.cpp:19:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ error: unknown target CPU 'x86_64' note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, lakemont, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, geode error: unknown target CPU 'x86_64' note: valid target CPU values are: i386, i486, winchip-c6, winchip2, c3, i586, pentium, pentium-mmx, pentiumpro, i686, pentium2, pentium3, pentium3m, pentium-m, c3-2, yonah, pentium4, pentium4m, prescott, nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, lakemont, k6, k6-2, k6-3, athlon, athlon-tbird, athlon-xp, athlon-mp, athlon-4, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, geode conftest.cpp:24:17: error: expected ';' at end of declaration double *restrict x=0; ^ ; /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-chemistry/mpqc-2.3.1-r4/temp/conftest.o: in function `main': conftest.cpp:(.text+0x4): undefined reference to `std::cout' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text+0x2c): undefined reference to `std::ctype::_M_widen_init() const' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text+0x41): undefined reference to `std::cout' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text+0x49): undefined reference to `std::ostream::put(char)' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text+0x51): undefined reference to `std::ostream::flush()' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text+0x5a): undefined reference to `std::__throw_bad_cast()' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-chemistry/mpqc-2.3.1-r4/temp/conftest.o: in function `_GLOBAL__sub_I_conftest.cpp': conftest.cpp:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' 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/sci-chemistry/mpqc-2.3.1-r4/temp/conftest.o: in function `_GLOBAL__sub_I_conftest.cpp': conftest.cpp:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'fp.h' file not found #include ^~~~~~ ignoreme: fatal error: 'machine/endian.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/endian.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/machine.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: error: use of undeclared identifier 'not' not big endian ^ ignoreme: fatal error: 'perf.h' file not found #include ^~~~~~~~ conftest.cpp:65:10: fatal error: 'armci.h' file not found #include ^~~~~~~~~ ignoreme: fatal error: 'machine/fpu.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'asm/fpu.h' file not found #include ^~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((size_t))) ^ ignoreme: error: indirection requires pointer operand ('void' invalid) return *(signal (0, 0)) (0) == 1; ^~~~~~~~~~~~~~~~~~~~ ignoreme: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration] char vprintf (); ^ ignoreme: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)' ignoreme: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror (); ^ ignoreme: note: 'strerror' is a builtin with type 'char *(int)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-chemistry/mpqc-2.3.1-r4/temp/conftest.o: in function `_GLOBAL__sub_I_conftest.cpp': conftest.cpp:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' /usr/bin/x86_64-pc-linux-gnu-ld: conftest.cpp:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) conftest.cpp:73:2: error: use of undeclared identifier 'ios'; did you mean 'std::ios'? ios::fmtflags flags; ^~~ std::ios /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:132:29: note: 'std::ios' declared here typedef basic_ios ios; ^ conftest.cpp:75:2: error: unknown type name 'streambuf'; did you mean 'std::streambuf'? streambuf *s=0; s->sgetn(c,0); ^~~~~~~~~ std::streambuf /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:135:34: note: 'std::streambuf' declared here typedef basic_streambuf streambuf; ^ conftest.cpp:74:2: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout.rdbuf()->pubseekoff(0, ios::beg, ^~~~ std::cout /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ conftest.cpp:74:30: error: use of undeclared identifier 'ios'; did you mean 'std::ios'? cout.rdbuf()->pubseekoff(0, ios::beg, ^~~ std::ios /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:132:29: note: 'std::ios' declared here typedef basic_ios ios; ^ conftest.cpp:75:42: error: use of undeclared identifier 'ios'; did you mean 'std::ios'? ios::out); ^~~ std::ios /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:132:29: note: 'std::ios' declared here typedef basic_ios ios; ^ 3 errors generated. conftest.cpp:74:2: error: use of undeclared identifier 'cout'; did you mean 'std::cout'? cout.rdbuf()->seekoff(0, ios::beg, ^~~~ std::cout /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iostream:61:18: note: 'std::cout' declared here extern ostream cout; /// Linked to standard output ^ conftest.cpp:74:16: error: 'seekoff' is a protected member of 'std::basic_streambuf' cout.rdbuf()->seekoff(0, ios::beg, ^ /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/streambuf:607:7: note: declared protected here seekoff(off_type, ios_base::seekdir, ^ conftest.cpp:74:27: error: use of undeclared identifier 'ios'; did you mean 'std::ios'? cout.rdbuf()->seekoff(0, ios::beg, ^~~ std::ios /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:132:29: note: 'std::ios' declared here typedef basic_ios ios; ^ conftest.cpp:75:39: error: use of undeclared identifier 'ios'; did you mean 'std::ios'? ios::out); ^~~ std::ios /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/iosfwd:132:29: note: 'std::ios' declared here typedef basic_ios ios; ^ 4 errors generated. conftest.cpp:81:3: error: no matching function for call to 'signal' signal(SIGINT, (signal_handler)handler); ^~~~~~ /usr/include/signal.h:88:23: note: candidate function not viable: no known conversion from 'signal_handler' (aka 'void (*)(...)') to '__sighandler_t' (aka 'void (*)(int)') for 2nd argument extern __sighandler_t signal (int __sig, __sighandler_t __handler) ^ flink.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(){ FF(); return 0; } ^ int flink.c:1:9: warning: call to undeclared function 'ffunc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] main(){ FF(); return 0; } ^ :1:12: note: expanded from here #define FF ffunc ^ 2 warnings generated. /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-chemistry/mpqc-2.3.1-r4/temp/flink-2c0d73.o: in function `main': flink.c:(.text+0x4): undefined reference to `ffunc' clang-15: error: linker command failed with exit code 1 (use -v to see invocation) flink.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(){ FF(); return 0; } ^ int flink.c:1:9: warning: call to undeclared function 'ffunc_'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] main(){ FF(); return 0; } ^ :1:12: note: expanded from here #define FF ffunc_ ^ 2 warnings generated. /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-chemistry/mpqc-2.3.1-r4/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `sB_init' 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 -lsB_BLAS: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) conftest.cpp:104:10: fatal error: 'libint/libint.h' file not found #include ^~~~~~~~~~~~~~~~~ conftest.cpp:104:10: fatal error: 'libr12/libr12.h' file not found #include ^~~~~~~~~~~~~~~~~ conftest.cpp:104:10: fatal error: 'libderiv/libderiv.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lblas: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation) clang-15: error: unsupported option '-V -o' clang-15: error: no such file or directory: 'garbage' 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 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:78: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: cannot find -lblas: No such file or directory clang-15: error: linker command failed with exit code 1 (use -v to see invocation)