[Openmp-commits] [PATCH] D51232: [OpenMP] Initial implementation of OMP 5.0 Memory Management routines

Paul Osmialowski via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 5 06:01:34 PDT 2018


pawosm01 added a comment.

This commit is bit damaging for those who want to use libomp.a for -static built applications. As KMP_DYNAMIC_LIB is hardcoded to 1 in kmp_config.h.cmake, dlopen will always be used causing following link-time warning:

  warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

This makes virtually impossible to copy libomp.a across various Linux boxes or shipping libomp.a in binary libomp packages addressed to various Linux systems.


Repository:
  rL LLVM

https://reviews.llvm.org/D51232





More information about the Openmp-commits mailing list