Date: Mon, 27 Jul 2015 09:29:46 +0200 From: ArnoB <freebsd@rgbaz.eu> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-arm@freebsd.org Subject: Re: EABI 4 vs EABI 5? Message-ID: <55B5DDEA.6070602@rgbaz.eu> In-Reply-To: <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com> References: <55B57895.30909@rgbaz.eu> <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com>
index | next in thread | previous in thread | raw e-mail
On 27-07-15 05:40, Warner Losh wrote: >> On Jul 26, 2015, at 6:17 PM, ArnoB <freebsd@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 arnohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55B5DDEA.6070602>
