Can't build ARMHF binary / wrong binary headers
Original Reporter info from Mantis: nxshock
-
Reporter name: Andrew Sotnikov
Original Reporter info from Mantis: nxshock
- Reporter name: Andrew Sotnikov
Description:
When I try to build any app with FPC, readelf -h on result binary says that is Version5 EABI, soft-float ABI. Even if I build with ARMHF flags.
FPC 3.0.0 was built for ARMHF.
I'm not sure is that true. May be result binary has wrong headers?
Steps to reproduce:
- Create test pascal file with code:
begin end.
- Compile with flags:
-dFPC_ARMHF -CpARMV7A -CfVFPV3 -CaEABIHF
- Check result binary with readelf -h, 'flags' field
Mantis conversion info:
- Mantis ID: 29734
- OS: Arch Linux ARM
- OS Build: Latest kernel/so
- Build: 3.0.0-1.1
- Platform: Banana Pi
- Version: 3.0.0