移ffmpeg到axera平台时遇到的错误_tmp/ccu6sj7b.s:804: 错误:unknown mnemonic `pause' ---程序员宅基地

技术标签: 嵌入式Linux应用模块编写  学习Linux记录  gnu  

错误信息记录:

CC    libavfilter/vf_mestimate.o
/tmp/ccqhZ2YH.s: Assembler messages:
/tmp/ccqhZ2YH.s:781: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:782: Error: unknown mnemonic `movgt' -- `movgt x12,x1'
/tmp/ccqhZ2YH.s:783: Error: unknown mnemonic `movgt' -- `movgt x1,x3'
/tmp/ccqhZ2YH.s:785: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:786: Error: unknown mnemonic `movle' -- `movle x1,x11'
/tmp/ccqhZ2YH.s:788: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:789: Error: unknown mnemonic `movgt' -- `movgt x12,x1'
/tmp/ccqhZ2YH.s:798: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:799: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccqhZ2YH.s:800: Error: unknown mnemonic `movgt' -- `movgt x0,x2'
/tmp/ccqhZ2YH.s:802: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:803: Error: unknown mnemonic `movle' -- `movle x0,x1'
/tmp/ccqhZ2YH.s:805: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:806: Error: unknown mnemonic `movgt' -- `movgt x3,x0'
/tmp/ccqhZ2YH.s:895: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:896: Error: unknown mnemonic `movgt' -- `movgt x13,x1'
/tmp/ccqhZ2YH.s:897: Error: unknown mnemonic `movgt' -- `movgt x1,x11'
/tmp/ccqhZ2YH.s:899: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:900: Error: unknown mnemonic `movle' -- `movle x1,x12'
/tmp/ccqhZ2YH.s:902: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:903: Error: unknown mnemonic `movgt' -- `movgt x13,x1'
/tmp/ccqhZ2YH.s:909: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:910: Error: unknown mnemonic `movgt' -- `movgt x1,x0'
/tmp/ccqhZ2YH.s:911: Error: unknown mnemonic `movgt' -- `movgt x0,x2'
/tmp/ccqhZ2YH.s:913: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:914: Error: unknown mnemonic `movle' -- `movle x0,x3'
/tmp/ccqhZ2YH.s:916: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:917: Error: unknown mnemonic `movgt' -- `movgt x1,x0'
/tmp/ccqhZ2YH.s:1199: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:1200: Error: unknown mnemonic `movgt' -- `movgt x15,x3'
/tmp/ccqhZ2YH.s:1201: Error: unknown mnemonic `movgt' -- `movgt x3,x12'
/tmp/ccqhZ2YH.s:1203: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:1204: Error: unknown mnemonic `movle' -- `movle x3,x14'
/tmp/ccqhZ2YH.s:1206: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:1207: Error: unknown mnemonic `movgt' -- `movgt x15,x3'
/tmp/ccqhZ2YH.s:1216: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:1217: Error: unknown mnemonic `movgt' -- `movgt x12,x1'
/tmp/ccqhZ2YH.s:1218: Error: unknown mnemonic `movgt' -- `movgt x1,x4'
/tmp/ccqhZ2YH.s:1220: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:1221: Error: unknown mnemonic `movle' -- `movle x1,x3'
/tmp/ccqhZ2YH.s:1223: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:1224: Error: unknown mnemonic `movgt' -- `movgt x12,x1'
/tmp/ccqhZ2YH.s:1240: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:1241: Error: unknown mnemonic `movgt' -- `movgt x16,x3'
/tmp/ccqhZ2YH.s:1242: Error: unknown mnemonic `movgt' -- `movgt x3,x14'
/tmp/ccqhZ2YH.s:1244: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:1245: Error: unknown mnemonic `movle' -- `movle x3,x15'
/tmp/ccqhZ2YH.s:1247: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:1248: Error: unknown mnemonic `movgt' -- `movgt x16,x3'
/tmp/ccqhZ2YH.s:1254: Error: unknown mnemonic `itt' -- `itt gt'
/tmp/ccqhZ2YH.s:1255: Error: unknown mnemonic `movgt' -- `movgt x3,x1'
/tmp/ccqhZ2YH.s:1256: Error: unknown mnemonic `movgt' -- `movgt x1,x4'
/tmp/ccqhZ2YH.s:1258: Error: unknown mnemonic `it' -- `it le'
/tmp/ccqhZ2YH.s:1259: Error: unknown mnemonic `movle' -- `movle x1,x12'
/tmp/ccqhZ2YH.s:1261: Error: unknown mnemonic `it' -- `it gt'
/tmp/ccqhZ2YH.s:1262: Error: unknown mnemonic `movgt' -- `movgt x3,x1'
ffbuild/common.mak:78: recipe for target 'libavfilter/vf_mestimate.o' failed
make: *** [libavfilter/vf_mestimate.o] Error 1
 

上面错误明显时指令集不匹配导致。

问题是做620平台时,编译没有问题。为什么做630平台就出错了呢?这两者间的区别就是在编译器上。

在620上用 ./configure --prefix=/home/${HOME}/arm_soft_dest/ffmpeg --disable-static --enable-shared --disable-debug --disable-ffplay --disable-ffprobe --enable-parser=h264 --enable-cross-compile --arch=arm --target-os=linux --cross-prefix=arm-linux-gnueabihf-

换成630的编译器  --cross-prefix=aarch64-linux-gnu-  后出现错误。

在网上查了一下资料,有下面一段文字描述:

aarch64 是 ARMv8-A 架构中引入的64位指令集,AArch64 向后兼容基于32位指令集的 ARMv7-A 和之前别的一些 32 位 ARM 架构(也就是AArch32)。

因此,64ISA的 GNU 三元组是 aarch64

历史中,Linux 内核社区选择arm64作为内核的端口调用,而不是aarch64,这就导致遗留了一些 arm64 的用法。同样的,Apple后端团队也称aarch64arm64

目前,LLVM 社区后端称为aarch64(因为它是64位ISA的规范名称),后来两者合并,后端现在统一称为aarch64 。

所以aarch64arm64指的是同一个东西

所以,将configure 修改一下,编译就通过了。

./configure --prefix=/home/${HOME}/arm64_soft_dest/ffmpeg --disable-static --enable-shared --disable-debug --disable-ffplay --disable-ffprobe --enable-parser=h264 --enable-cross-compile --arch=arm64 --target-os=linux --cross-prefix=aarch64-linux-gnu-

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/Harrison_zhu/article/details/123146190

智能推荐

IAR调试程序闪退问题_iar在debug时停止工作-程序员宅基地

文章浏览阅读1.7k次。问题:IAR调试STM32程序,点击调试按钮后软件自动关闭,并弹出报错提示框解决:将调试的接口模式改为SWD模式即可。我的原先设置为JTAG模式。_iar在debug时停止工作

100M宽带是多少网速_100m的宽带网速是多少兆-程序员宅基地

文章浏览阅读742次。100兆宽带的网速通常指的是每秒可以传输的数据量为100兆比特(Mb)。在此情况下,1兆比特(Mb)等于100万比特(Mbps),而1字节(B)等于8比特(bps)。因此,100兆宽带的网速可以计算如下:100兆比特/秒=100/8 兆字节/秒= 12.5兆字节/秒所以,100兆宽带的网速约为12.5MBps(兆字节/秒),也可以说为100Mbps(兆比特/秒)。但是需要注意的是,实际的下载和上传速度可能受到各种因素的影响,如网络拥堵、设备性能等。因此,实际使用中您可能会感受到较低的速度。_100m的宽带网速是多少兆

Windows 7 通用 CDC 串口驱动程序_cdcserial驱动 win7-程序员宅基地

文章浏览阅读2.4w次,点赞13次,收藏44次。Windows 7 通用 CDC 串口驱动程序Windows 7 自带 CDC 串口类设备的驱动程序文件 usbser.sys,所缺的是驱动配置文件 usbser.inf 文件,将 Windows 10 的 usbser.inf 文件拷贝到 Windows 7,注释掉 SourceDisksNames 和 SourceDisksFiles 部分就可以作为 Windows 7 的 CDC 串口类..._cdcserial驱动 win7

AI遮天传 NLP-词表示_nlp中词语的表示-程序员宅基地

文章浏览阅读2.5k次,点赞53次,收藏51次。NLP-词表示_nlp中词语的表示

sed 替换多个空格为一个-程序员宅基地

文章浏览阅读2.4k次。sed -i 's/[ ][ ]*/ /g' file.txt _sed 多个空格替换为1个

SpringBoot整合Dubbo,重温记录一下_springboot dubbo整合日志-程序员宅基地

文章浏览阅读125次。1. 创建maven聚合工程,结构如下:2. 父工程pom.xml文件<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ht_springboot dubbo整合日志

随便推点

Windows上的巧克力味Chocolatey详解_chocolate怎么卸载-程序员宅基地

文章浏览阅读1.5k次。Chocolatey是什么?很简单,Chocolatey就是Windows系统的yum或apt-get。一、Chocolatey介绍Chocolatey是一款专为Windows系统开发的、基于NuGet的包管理器工具,类似于Node.js的npm,MacOS的brew,Ubuntu的apt-get,它简称为choco。Chocolatey的设计目标是成为一个去中心化的框架,便于开发_chocolate怎么卸载

关于Python的三个谎言,别再盲目学Python了_关于python 盲目-程序员宅基地

文章浏览阅读2.3w次,点赞177次,收藏741次。Python作为21世纪最火的编程语言,市面上各种学习视频层出不穷,关于Python的学习氛围也逐渐浓厚,Python固然简单好上手,但事实上Python也不是那么容易学习的。如果不采取正确的学习方式,很容易走入误区。关于Python的三个谎言,你一定要清楚。1: 学完Python,并不能立马拿一两万的工资,甚至可能找不到工作!2:Python也没有那么简单,不是有手就行!3:别想着1个星期、2个星期就能学会,你至少得腾出一两个月来连续学习!如果你还是执意要学Python,那么好,接下来我们看看怎._关于python 盲目

js 实现将json数据导出到excel表格-程序员宅基地

文章浏览阅读2.1k次。方法一将table标签,包括tr、td等对json数据进行拼接,将table输出到表格上实现,这种方法的弊端在于输出的是伪excel,虽说生成xls为后缀的文件,但文件形式上还是html,代码如下<html><head> <p style="font-size: 20px;color: red;">使用table标签方式将json导出xls文件</p..._如何把js数据转换成表格

IEEE协会会员权益,注册IEEE会员有必要了解下_ieee会员好处-程序员宅基地

IEEE协会是一个专注于航空与电子系统领域的组织,注册IEEE会员可以享受许多权益,包括免费访问协会资源中心和参加各种会议及活动。

前端自学路线图之移动Web自学,2024前端目前最稳定和高效的UI适配方案-程序员宅基地

文章浏览阅读774次,点赞20次,收藏14次。除了简历做到位,面试题也必不可少,整理了些题目,前面有117道汇总的面试到的题目,后面包括了HTML、CSS、JS、ES6、vue、微信小程序、项目类问题、笔试编程类题等专题。CodeChina开源项目:【大厂前端面试题解析+核心总结学习笔记+真实项目实战+最新讲解视频】

计算数组中每个数字出现的次数_统计数组中每个数字出现的次数-程序员宅基地

文章浏览阅读3.9k次。var arr = [12,31,42,54,65,12,31,12,42,22];//统计个数var arr2 = {};arr.forEach(function(item){ if(arr2[item]){ arr2[item] += 1; }else{ arr2[item] = 1; }})console.log(arr2);_统计数组中每个数字出现的次数

推荐文章

热门文章

相关标签