From owner-freebsd-arm@FreeBSD.ORG Mon Mar 4 09:12:17 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7F47A1C4 for ; Mon, 4 Mar 2013 09:12:17 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 48E5C7F4 for ; Mon, 4 Mar 2013 09:12:16 +0000 (UTC) Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MJ400BUTPK6WU20@smtp5.clear.net.nz> for freebsd-arm@freebsd.org; Mon, 04 Mar 2013 22:12:10 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin2.paradise.net.nz with ESMTP; Mon, 04 Mar 2013 22:12:09 +1300 Date: Mon, 04 Mar 2013 22:12:05 +1300 From: Andrew Turner Subject: Re: ARM EABI test image In-reply-to: To: Ganbold Tsagaankhuu Message-id: <20130304221205.7d427b38@bender> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit References: <20130302172556.5b59e122@bender> 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: Mon, 04 Mar 2013 09:12:17 -0000 On Sun, 3 Mar 2013 01:17:01 +0800 Ganbold Tsagaankhuu wrote: > Andrew, > > On Sat, Mar 2, 2013 at 12:25 PM, 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. > > > > Can people try this as I would like to know if anything else is > > broken as this will become the default ABI for 10. > > > > Just tried the image. Seems work but observed for instance gpart shows > big numbers for 2GB SD: I've confirmed this is a bug where the stack is incorrectly aligned. I have a fix for this and will post a patch for review when I've cleaned it up. Andrew