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

Justin Holewinski via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 04:57:07 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.
----------------
jholewinski-nv wrote:

Is `BUILD_SHARED_LIBS` possible on QNX? Even if its not used in your project, it would still help to detect missing dependencies.

I would agree that the dependencies should be added to `OrcShared` even if they're transitively included through `Support`. We cannot rely on everything being statically linked together.

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


More information about the llvm-commits mailing list