Query on Symbol Isolation in onnxruntime #22110
Unanswered
mudream4869
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a C++ project that involves using onnxruntime (1.19.2). I've encountered a vendor dependency issue related to protobuf versions.
Onnxruntime 1.19.2 can be statically linked against protobuf 21.12, and its public API doesn't expose any protobuf-specific functions or classes.
I'm considering linking my project against protobuf 28.1 while still using onnxruntime. Is this a safe approach? Will it introduce any compatibility issues or undefined behaviors?
I've reviewed the onnxruntime build script, and it seems to use
-Wl,-Bsymbolic-functions -Wl,--strip-all
to create a more isolated binary. Does the flags mean to effectively prevents symbol conflicts between onnxruntime's static protobuf and my project's protobuf 28.1?Beta Was this translation helpful? Give feedback.
All reactions