xinyiZzz opened a new pull request #7911:
URL: https://github.com/apache/incubator-doris/pull/7911

   ## Problem Summary:
   
   Error details in be.out:
   ````
   /home/disk3/zxy/baidu/bdg/doris/core/output/be/lib/palo_be: 
/lib64/libc.so.6: version `GLIBC_2.18' not found (required by /home/disk3/zxy/ 
baidu/bdg/doris/core/output/be/lib/palo_be)
   ````
   
   nm looks at palo_be and finds that the method that depends on GLIBC_2.18 is 
`__cxa_thread_atexit_impl`
   
![3be717fca2b8563d447aa1e1c8f1f39a](https://user-images.githubusercontent.com/13197424/151341978-1ecc157e-3178-4fed-b824-08c60f873ec2.png)
   
   I found that the `__cxa_thread_atexit_impl` method was introduced by glibc 
to support thread_local variables
   
https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables
   
   It was no problem to compile through gcc10 before, our development machine 
glibc version only reaches GLIBC_2.12, and it is not allowed to upgrade the 
glibc version...
   
   So, how can I avoid this problem, please help
   


-- 
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: commits-unsubscr...@doris.apache.org

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



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

Reply via email to