From owner-freebsd-arm@FreeBSD.ORG Mon Apr 22 09:22:40 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 6AC71E4F for ; Mon, 22 Apr 2013 09:22:40 +0000 (UTC) (envelope-from gjb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id D409F1ABE for ; Mon, 22 Apr 2013 09:22:39 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id BEE3BEBD4D for ; Mon, 22 Apr 2013 11:22:37 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id z4Zql8Wjfx4C for ; Mon, 22 Apr 2013 11:22:37 +0200 (CEST) Received: from [10.0.0.93] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 4EAA7D5DB1 for ; Mon, 22 Apr 2013 11:22:37 +0200 (CEST) Message-ID: <51751CDC.4020208@semihalf.com> Date: Mon, 22 Apr 2013 13:19:56 +0200 From: Grzegorz Bernacki User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.24) Gecko/20120127 Thunderbird/3.1.16 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: ARM, clang & EABI. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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, 22 Apr 2013 09:22:40 -0000 Hi, I've recently built world and kernel for one of MV targets and it doesn't work properly. One of the problem is that 'bt' command from DDB fails. It seems that kernel uses wrong procedure to unwind the stack. So I got a few question: 1) Should I do something beside adding WITH_ARM_EABI to src.conf to enable ARM EABI 2) Should ___ARM_EABI__ be defined by compiler when I build the kernel? 3) Are there any changes to build world and kernel procedure related to clang or ARM EABI? thanks grzesiek