-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to limit the symbol in libpaddle_fluid.so #9071
Labels
预测
原名Inference,包含Capi预测问题等
Comments
May I know how doesn paddle_capi.map work, or how to learn more about *.map? I am working on #9719 to refactorize paddle/fluid/memory. However, the CI always fails at linking tests in paddle/fluid/inference/tests/book/*, complaining symbols being defined multiple times. I tried to
|
This was referenced Apr 8, 2018
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All the dependent third party libraries (protobuf, gflags, glog, etc) are linked to
libpaddle_fluid.so
, so that in inference codes users only need to linklibpaddle_fluid.so
. But if users need to link anotherglog
library of different version, the compiling will fail because of conflict of symbols. We need to limit the symbol table oflibpaddle_fluid.so
as do in capiPaddle/paddle/capi/CMakeLists.txt
Lines 71 to 73 in 48f213e
The text was updated successfully, but these errors were encountered: