Closed drom closed 1 month ago
Looks like the problem in LLVM installation. Probably it is because of old g++ or std library.
install.sh
has been checked for Ubuntu 20/22 and SLES 12 only. For other Linux it needs to install Clang/LLVM, Protobuf and ICSC manually, how it is described at https://github.com/intel/systemc-compiler/wiki/Getting-started#manual-installation
Is it new enough?
drom@x5:~/work/github/sifive/sc-rocket-surge> g++ --version
g++ (SUSE Linux) 13.1.1 20230720 [revision 9aac37ab8a7b919a89c6d64bc7107a8436996e93]
Copyright (C) 2023 Free Software Foundation, Inc.
How do I check std
library version?
I would add path to C++ std library to $PATH, for Ubuntu 22.04 it is /usr/lib/gcc/x86_64-linux-gnu/11/include
. Next step, I would try to use another gcc version.
Are you able to install Clang/LLVM without the install.sh
?
CLang/LLVM updated to 15.0.7. Please try it.
Getting this error: