Source and target have different EABI versions

馋奶兔 提交于 2019-12-06 07:30:32

Use as -meabi=5

I'm not going to claim I fully understand it... :-) but it solved the problem.

What I was trying to do that failed:

  • assemble with GNU AS compiled from master at 4de5434b694fc260d02610e8e7fec21b2923600a configured with --target arm-elf
  • link with Ubuntu 16.04 arm-linux-gnueabihf-gcc version 5.3.1

I think that the value is mentioned in the EABI specs say something along about it http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044f/IHI0044F_aaelf.pdf

Table 4-2, ARM-specific e_flags

This masks an 8-bit version number, the version of the ABI to which this ELF file conforms. This ABI is version 5. A value of 0 denotes unknown conformance.

although I don't know why exactly 0 popped up at all.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!