ffmpeg text relocations
来源:互联网 发布:moe域名备案 编辑:程序博客网 时间:2024/05/21 19:26
ffmpeg text relocations
参考:http://trac.ffmpeg.org/ticket/4928
解决:
comment:14in reply to:↑ 13Changed 18 months ago by ioeir2
Replying to cehoyos:
--disable-asm or --disable-asm --enable-pic might be needed.
--disable-asm fixed the issue. Thanks!
comment:15Changed18 months ago by cehoyos
It should be emphasized that --disable-asm does not fix anything, it just creates horribly slow FFmpeg binaries.http://stackoverflow.com/questions/34691970/ffmpeg-for-android-neon-build-has-text-relocations
1 down vote
This should be fixed already (since commit https://git.libav.org/?p=libav.git;a=commitdiff;h=f963f80399d, December 2014), so make sure you build a new enough version and it should be fine.
arm, aarch64 and x86_64 should all work fine without text relocations, but for 32 bit x86, you can't easily avoid it. (For x86, the simplest way around it is to do--disable-asm
, but that does give quite a bit of performance loss.)
You can check if your shared lbirary has text relocations by doing this:
readelf -a path/to/yourlib.so | grep TEXTREL
If it has text relocations, it will show you something like this:
0x00000016 (TEXTREL) 0x0
If this is the case, you may recompile your shared library with the latest NDK version available:
ndk-build -B -j 8
And if you check it again, the grep command will return nothing.
- ffmpeg text relocations
- 错误:has text relocations
- has text relocations
- ffmpeg安卓x86平台编译错误(libavcodec.so: has text relocations)
- lib***.so: has text relocations
- xx.so: has text relocations
- Android 8.0 x86 ffmpeg 提示 dlopen failed: "xxxxxx==/lib/x86/xxx.so" has text relocations
- libdvm.so has text relocations 错误
- Android dlopen failed: has text relocations
- android so一种异常: has text relocations
- So文件 has text relocations问题
- 调用.so 文件时报错has text relocations
- 调用.so 文件时报错has text relocations
- Android 6.0 crash - liblicensing.so: has text relocations
- java.lang.UnsatisfiedLinkError: dlopen failed:has text relocations
- 调用.so 文件时报错has text relocations(转载)
- Android 6.0下出错: UnsatisfiedLinkError: dlopen failed . text relocations
- 加载xxx.so 库时报 has text relocations
- JQuery表单事件登录框特效
- strlen函数的应用
- android实现打开wifi选项,并等待在连接成功后返回连接的wifi信息
- VLOOKUP函数一对多查找
- Linux学习第十单元-selinux对文件的控制
- ffmpeg text relocations
- SE6 模板字符串详解
- redis学习一
- 4.管理系统存储
- php数据库备份还原类
- 简单到几行代码!viewpager切换时一个常用的动画
- Cocoapods快速解除依赖库
- Quartz 2.2.3持久化
- JavaScript学习笔记14-if语句
--disable-asm 或者--disable-asm --enable-pic might be needed.