Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jul 2015 21:40:22 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        ArnoB <freebsd@rgbaz.eu>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: EABI 4 vs EABI 5?
Message-ID:  <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com>
In-Reply-To: <55B57895.30909@rgbaz.eu>
References:  <55B57895.30909@rgbaz.eu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_359E8B6D-A9C1-4E46-B571-52E47EBC64A3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 26, 2015, at 6:17 PM, ArnoB <freebsd@rgbaz.eu> wrote:
>=20
> Hello,
>=20
> I'm trying to compile FreeBSD 11 head on a FreeBSD 9.3 amd64
> machine, to be used on my Raspberry B.
>=20
> TARGET: arm
> TARGET_ARCH: armv6
>=20
> 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.
>=20
>=20
> 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
>=20
> 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
>=20
> Almost identical, except for the EABI version.
>=20
>=20
> Is it possible to get exactly similar binaries in any way?

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

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

Warner


--Apple-Mail=_359E8B6D-A9C1-4E46-B571-52E47EBC64A3
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVtagmAAoJEGwc0Sh9sBEAH/8P/0n8UYzU5Nea3wACFP/FlTd0
J4dkp7B1f6eAMnveYlst1kJMmwg4R5KbOYQpOBq4Zpo01ufFbZkORvXmaonTUXFQ
7cj1ys6XlpwwS6r5XAo43Loekp/zmO+cjvF7BzthBDkT9wa/Hu0S06iWC9TZGlry
jeYY8eORtrI8MvvrfID8ouGTTzb3pEKMV6iTmOkyC9W5Go201NP7DUVHwP/JERy/
0370712vtp3b3XMtpmt5hcElQdRgY/UFMi7neYEuDD+psQy6L0u6CMcrg45sr0Ws
Gu7FXYxBa+FhL1AOsxX+WjWA8CPFj3074ujwZZYCZ4y+leP+Zo9uQX0SZmS31LJE
usjiCLs51Fod6CJ+XJ5Z1FsrCSA6pp6h3qZRCQlz3ysjWJ7JY0Of4YOzm+jFK85M
3U59n8KpL7wC72POwDBsI9W0b53HdRltHlEdbsaKUwHfvuKd6h/pt3/c8t+TRsOG
lcYyTpLmh9ZppUcwmh3koxsAZ0CZgyLSJa2AgPJSJwJ+1xI8gQvjvQXWShefv2wR
rEXgQHIuTx/WwPnQKJIWe8cA+3Lt5G4kpr1ellAT3+zX1KPKlsLbmu+cpNd2DYHG
6GCmNxtXnjdTIRer7jguHvbed10sr/9FnPoZIgxBbi9NEMOPtoxGsHVjmMee8vtx
stiM2yj1Pa9uFcDYYJwi
=/3nV
-----END PGP SIGNATURE-----

--Apple-Mail=_359E8B6D-A9C1-4E46-B571-52E47EBC64A3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96059129-D5DB-4610-9F3C-AF3803610D0E>