Hi Supun and all,
When I modify below line under "protoc_lib" both for "cc_library" and "cc_binary" at the file: bazel-twister2/external/com_google_protobuf/BUILD
linkopts = LINK_OPTS + ["-Wl,-rpath,/N/u/auyar/gcc-10.2.0/lib64", "-L/N/u/auyar/gcc-10.2.0/lib64"],
I do not get the previous error. However, I got a new error.
I attached cmake logs.
It seems that for compiling Cylon, it is using older versions of cc and c++. I installed gcc 10.2 and it is in the path. However, it is still using cc and c++ from /usr/bin/cc. they are (GCC) 4.8.5.
I added following envs to .bashrc but that does not work either:
export CC="/N/u/auyar/gcc-10.2.0/bin/gcc"
export CXX="/N/u/auyar/gcc-10.2.0/bin/c++"
Do you have any suggestions? thanks,
Ahmet