[cfarm-users] cfarm103: broken clang++-16
Jonathan Wakely
jwakely.gcc at gmail.com
Thu Apr 25 21:36:17 CEST 2024
On Thu, 25 Apr 2024 at 20:29, Aleksey Cheusov via cfarm-users
<cfarm-users at lists.tetaneutral.net> wrote:
>
> 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
None of these GCC installations include any C++ headers. Some of them
have libstdc++.so or libstdc++.a, but no headers.
Maybe somebody needs to install libstdc++-dev or a similar package.
More information about the cfarm-users
mailing list