EABI 4 vs EABI 5?

ArnoB freebsd at rgbaz.eu
Mon Jul 27 07:39:28 UTC 2015



On 27-07-15 05:40, Warner Losh wrote:
>> 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
>
Hi Warner,

Thanks for your reply.
I didn't think of gcc vs clang at all....

I'll install clang, rerun the whole build process,
and check if that "solved" it.

greets
arno



More information about the freebsd-arm mailing list