From owner-freebsd-arm@freebsd.org Mon Jul 27 07:39:27 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 E8D959AC6F2 for ; Mon, 27 Jul 2015 07:39:27 +0000 (UTC) (envelope-from freebsd@rgbaz.eu) Received: from fnsib-smtp06.srv.cat (fnsib-smtp06.srv.cat [46.16.61.63]) by mx1.freebsd.org (Postfix) with ESMTP id AF86C39F for ; Mon, 27 Jul 2015 07:39:27 +0000 (UTC) (envelope-from freebsd@rgbaz.eu) Received: from [10.0.1.111] (j83162.upc-j.chello.nl [24.132.83.162]) by fnsib-smtp06.srv.cat (Postfix) with ESMTPSA id 8852797B5F; Mon, 27 Jul 2015 09:29:48 +0200 (CEST) Subject: Re: EABI 4 vs EABI 5? To: Warner Losh References: <55B57895.30909@rgbaz.eu> <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com> Cc: freebsd-arm@freebsd.org From: ArnoB Message-ID: <55B5DDEA.6070602@rgbaz.eu> Date: Mon, 27 Jul 2015 09:29:46 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <96059129-D5DB-4610-9F3C-AF3803610D0E@bsdimp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 07:39:28 -0000 On 27-07-15 05:40, Warner Losh wrote: >> On Jul 26, 2015, at 6:17 PM, ArnoB 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