[MacPorts] #67686: clang-16 @16.0.6_0: links to compiler runtime libraries using wrong path

MacPorts noreply at macports.org
Sun Jun 25 17:45:05 UTC 2023


#67686: clang-16 @16.0.6_0: links to compiler runtime libraries using wrong path
--------------------------+----------------------
 Reporter:  chrstphrchvz  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:                |       Port:  clang-16
--------------------------+----------------------
 Observed on macOS 10.13 and macOS 12. Example: running a program compiled
 with `clang-mp-16 -fsanitize=address` will error:
 {{{
 dyld: Library not loaded:
 /opt/local/libexec/llvm-16/lib/libclang_rt.asan_osx_dynamic.dylib
   Referenced from: a.out
   Reason: image not found
 }}}

 because the library is actually located here:
 {{{
 /opt/local/libexec/llvm-16/lib/clang/16/lib/darwin/libclang_rt.asan_osx_dynamic.dylib
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67686>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list