chongg039 opened a new issue, #2861:
URL: https://github.com/apache/brpc/issues/2861

   **Describe the bug (描述bug)**
   x86的环境下在输出一个错误日志:
   
![image](https://github.com/user-attachments/assets/c779af0d-723b-4ed2-bdf7-528cd2964a79)
   查看代码好像是用了自己的log实现,而不是glog
   
![image](https://github.com/user-attachments/assets/f983162f-5e18-44c8-baa1-fe84da8d4e8a)
   实际编译库的时候带上了glog的选项,编译命令:
   sudo sh config_brpc.sh --headers=/usr/local/include --libs=/usr/local/lib 
--with-glog; sudo make clean; sudo make -j8
   
   arm的环境就没有这个问题,编译都是默认带了glog的选项,对比了一下静态库,发现x86的没有GLOG相关的符号,arm的有:
   
   x86:
   
![image](https://github.com/user-attachments/assets/c3e387ab-222a-44e1-85f8-5880c3b0e25d)
   
   arm:
   
![image](https://github.com/user-attachments/assets/9a0909fd-4b23-448e-8938-cb0f264725bf)
   
   请问这是什么原因
   
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: centos
   Compiler:gcc492
   brpc: release 1.5
   protobuf: 2.4.1
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
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: dev-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to