查看用什么gcc版本编译的
readelf -p .comment /usr/local/python39/bin/python3
结果:
String dump of section '.comment':[ 0] GCC: (GNU) 4.8.5 20150623 (Red Hat 4.8.5-44)[ 2d] GCC: (GNU) 11.2.0
参考:
https://blog.csdn.net/weixin_45661908/article/details/123928463
https://blog.csdn.net/mayue_web/article/details/115939103