[llvm] [ORC] Link LLVMOrcShared against libsocket on QNX (PR #208108)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 20:48:54 PDT 2026


================
@@ -13,3 +13,9 @@ add_llvm_utility(lli-child-target
 
   EXPORT_SYMBOLS
 )
+
+# On QNX the socket APIs (shutdown/... used by ORC's FDSimpleRemoteEPCTransport
+# in libLLVMOrcShared) live in libsocket rather than libc.
----------------
diksha wrote:

- SunOS is under-declared for OrcShared (works via Support transitively); the patch is the correct way of doing things. For your second request we need to also list socket for SunOS/Haiku in OrcShared's guard (declare the dep where it's used, on all separate-lib platforms). Do you want me to add that?
- BUILD_SHARED_LIBS is  not reachable for the QNX-static target that is used by our projects

https://github.com/llvm/llvm-project/pull/208108


More information about the llvm-commits mailing list