We found an compatibility issue with the pre-build ODB on RHEL 8 and I also guess other OS versions: the the full path to gcc binary is not baked in the odb binary during compile-time.
This leads to problems if there is a different (e.g. newer) gcc in the PATH. This can easily happen when you are using a gcc-toolset-XX. A workaround is to invoke odb with PATH=/usr/bin/:$PATH odb.
I guess the solution would be to bake in the the fullpath to gcc and not rely on runtime PATH resolution.
We found an compatibility issue with the pre-build ODB on RHEL 8 and I also guess other OS versions: the the full path to gcc binary is not baked in the
odbbinary during compile-time.This leads to problems if there is a different (e.g. newer)
gccin the PATH. This can easily happen when you are using agcc-toolset-XX. A workaround is to invokeodbwithPATH=/usr/bin/:$PATH odb.I guess the solution would be to bake in the the fullpath to
gccand not rely on runtimePATHresolution.