SBT wasn't installed by install-compiler-prereqs.sh, I had to install it manually
Java 18 wasn't working, java 8 also wasn't working. Java 11 was enough in my case. Fixed by installing openjdk-11 and update-alternatives --config java
System clang also wasn't working.
/usr/bin/ld: build/build.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang returned error code 1, aborting.
(panic)
Coordinator build failed.
I had to redefine the PATH variable export PATH=/home/user/LLVMForVale/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04/bin:$PATH to make it working.
One does not simply use tmpfs
[100%] Built target backend
Compiling Coordinator...
Moving existing output directory build to /tmp/old_output_dir_42961017637920.
Rename failed! : Invalid cross-device link
Coordinator build failed.
SBT wasn't installed by
install-compiler-prereqs.sh
, I had to install it manuallyJava 18 wasn't working, java 8 also wasn't working. Java 11 was enough in my case. Fixed by installing openjdk-11 and
update-alternatives --config java
System clang also wasn't working.
I had to redefine the PATH variable
export PATH=/home/user/LLVMForVale/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04/bin:$PATH
to make it working.One does not simply use tmpfs
After all, I successfully built it.