[cfarm-users] cfarm103: broken clang++-16

Aleksey Cheusov vle at gmx.net
Thu Apr 25 21:28:15 CEST 2024


Can any one please fix broken clang++ on cfarm103?

0 ~>cat ~/tmp/2.cc
#include <iostream>

int main(int argc, char **argv)
{
    std::cout << "Hello";
    return 0;
}

0 ~>clang++ -o ~/tmp/2 ~/tmp/2.cc
/home/cheusov/tmp/2.cc:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^~~~~~~~~~
1 error generated.

1 ~>clang++ -v
Debian clang version 16.0.6 (20)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-linux-gnu/10
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-linux-gnu/12
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-linux-gnu/13
Found candidate GCC installation: /usr/bin/../lib/gcc/aarch64-linux-gnu/14
Selected GCC installation: /usr/bin/../lib/gcc/aarch64-linux-gnu/14
Candidate multilib: .;@m64
Selected multilib: .;@m64

0 ~>dpkg -S `which clang++`
clang: /usr/bin/clang++

0 ~>dpkg -l clang
        1 Desired=Unknown/Install/Remove/Purge/Hold
        2 | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
        3 |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
        4 ||/ Name           Version      Architecture Description
        5 +++-==============-============-============-==========================================================
        6 ii  clang          1:16.0-57    arm64        C, C++ and Objective-C compiler (LLVM based), clang binary

0 ~>



More information about the cfarm-users mailing list