[Openmp-commits] [PATCH] D77609: [OpenMP] Added the support for hidden helper task in RTL

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 17 07:37:37 PDT 2021


protze.joachim added a comment.

In D77609#2629372 <https://reviews.llvm.org/D77609#2629372>, @lebedev.ri wrote:

> I believe this involves compiling a program that uses omp with clang, linking it to llvm's libomp,
> and linking it to some library that is compiled with gcc and linked to libgomp.
> The issue appears to happen regardless of whether or not the libgomp used is provided at runtime by gcc or llvm.

Linking two OpenMP runtime libraries into one application is guaranteed to break things. You have basically no way to guarantee that calls to API functions go to the right runtime.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77609/new/

https://reviews.llvm.org/D77609



More information about the Openmp-commits mailing list