DATE: 2018.11.21


1、参考

https://stackoverflow.com/questions/29880695/compiling-error-impossible-constraint-in-asm?answertab=active#tab-top
https://stackoverflow.com/questions/30918170/impossible-constraint-in-asm-error
https://blog.csdn.net/Q1302182594/article/details/50794409
https://blog.csdn.net/u012509728/article/details/50404424

2、问题描述

今天在进行Android平台的x86和x86_64编译时,对于x86内联汇编代码进行编译时,报出如下错误:

impossible constraint in 'asm' error;
#define asm __asm__
3、解决方案

原因还未找到。
初步分析: Android ndk采用的汇编器为yasm,已经确认yasm支持Intel格式和GNU AS(AT&T)格式的纯汇编编译,但是可能并不支持AT&T格式的x86 Inline汇编,这个问题有待进一步确认

问题确认:

待补充


THE END!

相关文章:

  • 2022-01-29
  • 2021-06-04
  • 2021-06-10
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-05-19
  • 2021-07-22
  • 2021-10-10
  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
相关资源
相似解决方案