<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Initial implementation of OMP 5.0 Memory Management routines makes use of libomp.a harder or even impossible"
   href="https://bugs.llvm.org/show_bug.cgi?id=39189">39189</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Initial implementation of OMP 5.0 Memory Management routines makes use of libomp.a harder or even impossible
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>OpenMP
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Runtime Library
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>newchief@king.net.pl
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The <a href="https://reviews.llvm.org/D51232">https://reviews.llvm.org/D51232</a> 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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>