diff --git a/openmp/docs/SupportAndFAQ.rst b/openmp/docs/SupportAndFAQ.rst --- a/openmp/docs/SupportAndFAQ.rst +++ b/openmp/docs/SupportAndFAQ.rst @@ -329,3 +329,12 @@ stack memory during execution and crash. The environment variable ``LIBOMPTARGET_STACK_SIZE`` can be used to increase the stack size if this occurs. + +Q: Are libomptarget and plugins backward compatible? +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +No. Since libomptarget and plugins are now built as LLVM libraries starting from +LLVM 15, they are no longer backward compatible. Given that fact, both libomptarget +and plugin interfaces are not guaranteed to be compatible as well. It is always +recommended to use the Clang compiler and runtime libraries from the same build. +If not, it is up to users to make sure the compatibility.