From owner-freebsd-arm@freebsd.org Mon Jul 27 03:40:32 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FDDF9ABB07 for ; Mon, 27 Jul 2015 03:40:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ig0-f173.google.com (mail-ig0-f173.google.com [209.85.213.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 58D503E8 for ; Mon, 27 Jul 2015 03:40:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by igr7 with SMTP id 7so55883521igr.0 for ; Sun, 26 Jul 2015 20:40:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=2V3We5HV5lh0RS6MTcTGNR5yVVIqvPHqo7sLul+oVEU=; b=hwPo4nCWlvYpmfQGjeDKw14I79lYmhdypM3/TNBNF/uw1cmfRB4GXb7tSak+Gc4wFo QnGvvr4VeHyAXCk+HqckOJWMGuJnGXu9JmSiThwi0qWMtTYmWPA7Dnoax/c9Ub/O3wcn RSl4UnYbcnhnTBuXYeg1MFgMY/WQiSN9SJ3eZ3pbqfjg9Q5+Ub50oee+AClxLWGqGvzV tUwZlXKFhET3Xk+F3HW8M7+XZ98Bgtknn/FlVn+yHbDsNIRevQFVwjI8dgzOwvq5tAiF eAeOYwm/Oq4HAwIssPjSRpcGVGlA0Mg0VYN//i+o0PbK5/QguawrL6Jx4s5d5A1ajpEf FJ3A== X-Gm-Message-State: ALoCoQm3yHEgTKOYm9FrL/5IteQkDafB6cyn5ou3GH8Ue1ChUzZJ93pvR86+fMr/pp5cuZ6QXRLa X-Received: by 10.107.155.12 with SMTP id d12mr43964643ioe.131.1437968425037; Sun, 26 Jul 2015 20:40:25 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by smtp.gmail.com with ESMTPSA id j2sm10981195ioo.43.2015.07.26.20.40.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Jul 2015 20:40:24 -0700 (PDT) Sender: Warner Losh Subject: Re: EABI 4 vs EABI 5? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: multipart/signed; boundary="Apple-Mail=_359E8B6D-A9C1-4E46-B571-52E47EBC64A3"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5 From: Warner Losh In-Reply-To: <55B57895.30909@rgbaz.eu> Date: Sun, 26 Jul 2015 21:40:22 -0600 Cc: freebsd-arm@freebsd.org Message-Id: <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com> References: <55B57895.30909@rgbaz.eu> To: ArnoB X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2015 03:40:32 -0000 --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 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--