EABI 4 vs EABI 5?

Warner Losh imp at bsdimp.com
Mon Jul 27 03:40:32 UTC 2015


> On Jul 26, 2015, at 6:17 PM, ArnoB <freebsd at rgbaz.eu> wrote:
> 
> Hello,
> 
> I'm trying to compile FreeBSD 11 head on a FreeBSD 9.3 amd64
> machine, to be used on my Raspberry B.
> 
> TARGET: arm
> TARGET_ARCH: armv6
> 
> Everything goes quite well, yet I'm seeing a slight difference between
> the binaries in the temporary installation folder and the ones on
> the Raspberry Pi.
> 
> 
> on the PC, FreeBSD 9.3 amd64:
> $ file /bin/ls
> /bin/ls: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked,
>    interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 11.0 (1100077), stripped
> 
> on the RasPi, FreeBSD 11.0-CURRENT:
> $ file temp/bin/ls
> temp/bin/ls: ELF 32-bit LSB executable, ARM, EABI4 version 1 (SYSV), dynamically linked,
>    interpreter /libexec/ld-elf.so.1, FreeBSD-style, for FreeBSD 11.0 (1100077), stripped
> 
> Almost identical, except for the EABI version.
> 
> 
> Is it possible to get exactly similar binaries in any way?

They both should run, possibly with some compat9 libraries. I don’t think we have a package for that.

However, I think the problem maybe a clang-built system vs a gcc-built system.

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150726/6ef552f0/attachment.bin>


More information about the freebsd-arm mailing list