[MacPorts] #53299: clang sanitizer libraries have incorrect dylib id

MacPorts noreply at macports.org
Thu Nov 23 05:51:02 UTC 2017


#53299: clang sanitizer libraries have incorrect dylib id
--------------------------------------------+----------------------
  Reporter:  akimd                          |      Owner:  jeremyhu
      Type:  defect                         |     Status:  assigned
  Priority:  Normal                         |  Milestone:
 Component:  ports                          |    Version:  2.3.5
Resolution:                                 |   Keywords:
      Port:  clang-3.9 clang-4.0 clang-5.0  |
--------------------------------------------+----------------------

Comment (by kencu):

 I think the broken logic is in this cmake file `llvm-5.0.0.src/projects
 /compiler-rt/cmake/Modules/AddCompilerRT.cmake`, presumably in the install
 directory sorting. CMake is hard to decipher with so many included
 modules. Needs a debugger or something.

 I note most of the compiler_rt modules are installed as STATIC, and only a
 few are SHARED. I don't know yet if the other SHARED ones are broken too.

 Shared ones I found are:
 {{{
 clang_rt.asan
 clang_rt.lsan
 clang_rt.tsan
 clang_rt.ubsan
 clang_rt.stats
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53299#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list