dheart-joe commented on issue #1425:
URL: https://github.com/apache/incubator-brpc/issues/1425#issuecomment-870370193


   brpc的pthread_mutex_lock
   nm -A brpc/lib/libbrpc.so | grep pthread_mutex_lock
   brpc/lib/libbrpc.so:0000000000499610 T pthread_mutex_lock
   brpc/lib/libbrpc.so:0000000000498270 T 
_ZN7bthread28first_sys_pthread_mutex_lockEP15pthread_mutex_t
   brpc/lib/libbrpc.so:0000000000b9f3b0 d _ZN7bthreadL22sys_pthread_mutex_lockE
   
   phtread的pthread_mutex_lock
   nm -A /lib/x86_64-linux-gnu/libpthread.so.0 | grep pthread_mutex_lock
   /lib/x86_64-linux-gnu/libpthread.so.0:000000000000bfc0 t 
__GI___pthread_mutex_lock
   /lib/x86_64-linux-gnu/libpthread.so.0:000000000000bfc0 T __pthread_mutex_lock
   /lib/x86_64-linux-gnu/libpthread.so.0:000000000000bfc0 W pthread_mutex_lock
   /lib/x86_64-linux-gnu/libpthread.so.0:000000000000b8a0 t 
__pthread_mutex_lock_full
   
   我在猜可能其他项目用到brpc库的时候,估计要开启gcc的有关参数,才能解决这个冲突的问题,跟系统库的函数名冲突,是个比较麻烦的事情。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to