From owner-freebsd-arm@FreeBSD.ORG Sat Mar 2 23:16:26 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 22DD3D6D for ; Sat, 2 Mar 2013 23:16:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ia0-x22b.google.com (mail-ia0-x22b.google.com [IPv6:2607:f8b0:4001:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id E76578D5 for ; Sat, 2 Mar 2013 23:16:25 +0000 (UTC) Received: by mail-ia0-f171.google.com with SMTP id z13so3764195iaz.16 for ; Sat, 02 Mar 2013 15:16:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=sAlPPdsk+bQ36Eun7Y0gXzVuEqBaIyV+hxfIBuKnUjk=; b=dqLzynhOJiuyH5UXUhBUOcNPfejMFjexM/lXH6CSrMqqB4ivGnCXO8i4POGpJkezSp 16Umobjz9UnU2oIbkXH8p/2tKcyz6t1Jm332+cqkrhIZRrRx0ITyd5iAW7BdQOfD9WlP dDvUjOJWIVGPIKR1+wAMYvcQ/svC8H5g/sFPLSWqQKfmBvnWIru1sRQXyyFX4XaC2HSy aF5HQX/+B7pUL/+Dh/Fbz5ck2f0Sg6c0JjdRmp1DaEq7Z2bkvRKB7NgHLqfIU6nE8YO9 7xMnzGTsNPS8ndgSiWV4FoSq+68Jan4S2aF6K+uanCWuYbZb1PiyQZmwqGViblmbNv/1 4H4w== X-Received: by 10.42.145.137 with SMTP id f9mr17635919icv.52.1362266185417; Sat, 02 Mar 2013 15:16:25 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id wo8sm4485378igb.6.2013.03.02.15.16.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Mar 2013 15:16:24 -0800 (PST) Sender: Warner Losh Subject: Re: ARM EABI test image Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1362246830.1195.181.camel@revolution.hippie.lan> Date: Sat, 2 Mar 2013 16:16:22 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130302172556.5b59e122@bender> <1362246830.1195.181.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQnUGNHu91CzYPjqS+KdrvVpO716TtRZYwHAHf+tBt0ZgtAryD8Sfps8ZNkO7bMIObV/Kn2i Cc: freebsd-arm@FreeBSD.org, Ronald Klop 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 23:16:26 -0000 On Mar 2, 2013, at 10:53 AM, 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 = =20 >> wrote: >>=20 >>> Hello, >>>=20 >>> I have built an updated ARM EABI test image for Raspberry Pi [1]. >>>=20 >>> The only known issue is c++ exception handling is broken when >>> using in a dynamically linked executable. Static executables should >>> work with c++ exceptions. >>>=20 >>> 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=3Dbsd-pi-eabi-r247609.img of=3D/dev/da0 >>>=20 >>> 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. >>=20 >> Is this also interesing on the older SHEEVAPLUG? >> If yes, I can test it somewhere next week. >>=20 >> Ronald. >=20 > As I understand it, the plan is that eventually everything is EABI, > including the older armv4/5 stuff, so that needs testing too. >=20 > 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. Alignment of structures is more like x86. This makes all the weird hacks = we have in the tree to support the old ABI obsolete, and makes all the = broken ones that we don't know about fixed. I'm sure there's a bunch more, but that's the main reason I want it :) Warner=