原因:编译出来的libunwind拆分成了很多个模块,部分函数可能不在默认模块中。

解决:-lunwind -lunwind-x86_64 链接两个模块即可。
libunwind链接时报错:undefined reference to `_Ux86_64_init_local'
来源:清泛原创 2021-01-09 18:41:29 人气: 我有话说( 0 人参与)
编译安装libunwind后,代码编译链接时报错:undefined reference to `_Ux86_64_init_local& 39;,链接选项加了 -lunwind,仍然报错。原因:编译出来的libunwind拆分成了很多个