From owner-freebsd-arm@FreeBSD.ORG Sat Mar 2 18:05:27 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5BA46D62 for ; Sat, 2 Mar 2013 18:05:27 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-04-ewr.mailhop.org [204.13.248.74]) by mx1.freebsd.org (Postfix) with ESMTP id 1B782A85 for ; Sat, 2 Mar 2013 18:05:26 +0000 (UTC) Received: from c-24-8-232-202.hsd1.co.comcast.net ([24.8.232.202] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UBqoI-000F0g-Es; Sat, 02 Mar 2013 18:05:26 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r22I5NF9088764; Sat, 2 Mar 2013 11:05:23 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.232.202 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19kcY1H7HvVC4WBOXOcWpq7 Subject: Re: ARM EABI test image From: Ian Lepore To: Ronald Klop In-Reply-To: References: <20130302172556.5b59e122@bender> <1362246830.1195.181.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Sat, 02 Mar 2013 11:05:23 -0700 Message-ID: <1362247523.1195.183.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Mar 2013 18:05:27 -0000 On Sat, 2013-03-02 at 19:00 +0100, Ronald Klop wrote: > On Sat, 02 Mar 2013 18:53:50 +0100, Ian Lepore wrote: > > > On Sat, 2013-03-02 at 18:21 +0100, Ronald Klop wrote: > >> On Sat, 02 Mar 2013 05:25:56 +0100, Andrew Turner > >> wrote: > >> > >> > Hello, > >> > > >> > I have built an updated ARM EABI test image for Raspberry Pi [1]. > >> > > >> > The only known issue is c++ exception handling is broken when > >> > using in a dynamically linked executable. Static executables should > >> > work with c++ exceptions. > >> > > >> > To test it you will have to extract it using unxz and dd it to an sd > >> > card, for example, with a USB to SD adapter on /dev/da0: > >> > $ unxz bsd-pi-eabi-r247609.img.xz > >> > $ dd if=bsd-pi-eabi-r247609.img of=/dev/da0 > >> > > >> > If you don't have a Raspberry Pi but would like to try it on your > >> board > >> > you can add -DWITH_ARM_EABI to the make commands you use to build and > >> > install world and the kernel. > >> > >> Is this also interesing on the older SHEEVAPLUG? > >> If yes, I can test it somewhere next week. > >> > >> Ronald. > > > > As I understand it, the plan is that eventually everything is EABI, > > including the older armv4/5 stuff, so that needs testing too. > > > > You know what I haven't stumbled across yet is a simple explanation of > > why EABI is better then OABI. I tried to search for some info the other > > day, but there are so many noise hits on the search I didn't find a > > simple synopsis of differences or advantages. > > Googling on 'eabi vs oabi' gives me this > http://wiki.embeddedarm.com/wiki/EABI_vs_OABI. I saw that, but that's a linux-specific answer to a linux-specific problem that freebsd never had: we use OABI without assuming hardware fp and emulating it in the kernel via traps. I hope there's more advantage to EABI than just that, since that part of it gets us nothing. -- Ian