关于编译x264时出现的for Cortex-A8 erratum because it has no mapping symbols问题

来源:互联网 发布:竞品数据分析 编辑:程序博客网 时间:2024/06/05 03:25

linux下编译x264库时提示警告信息:cannot scan executable section 1 of libx264.a(dct-a.o) for Cortex-A8 erratum because it has no mapping symbols

要去掉该警告信息,将Makefile中含有 (STRIP) -x 的地方语句

-@ $(if $(STRIP), $(STRIP) -x $@) #delete local/anonymous symbols, so they don't show up in oprofile, except the mapping symbols

替换为

-@ $(if $(STRIP), $(STRIP) -x -K \$$a -K \$$t -K \$$d $@) #delete local/anonymous symbols, so they don't show up in oprofile, except the mapping symbols

即可。

注:红色部分是增加的内容,Makefile中总共有2处需要修改。

参考链接:http://x264-devel.videolan.narkive.com/UdDmarnv/ndk-r8c-linker-warnings-for-asm-files-from-libx264

0 0
原创粉丝点击