From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:28:35 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C176F432 for ; Sat, 28 Sep 2013 18:28:35 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 961872B5D for ; Sat, 28 Sep 2013 18:28:35 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VPzFq-000EQn-Cv; Sat, 28 Sep 2013 18:28:34 +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 r8SISVhw007930; Sat, 28 Sep 2013 12:28:31 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/3S5HIw7l4HuL/KeGqlHJB Subject: Re: avila boot2 problem ? From: Ian Lepore To: Berislav Purgar In-Reply-To: <1380392804.1197.339.camel@revolution.hippie.lan> References: <1380392804.1197.339.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Sat, 28 Sep 2013 12:28:31 -0600 Message-ID: <1380392911.1197.340.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, 28 Sep 2013 18:28:35 -0000 On Sat, 2013-09-28 at 12:26 -0600, Ian Lepore wrote: > On Sat, 2013-09-28 at 20:05 +0200, Berislav Purgar wrote: > > On Sat, Sep 28, 2013 at 6:48 PM, Berislav Purgar wrote: > > > > > Hello .. i have tryed to build boot2 for avila GW2345 board but i got err > > > from LD > > > about missing __aeabi_llsl from boot2.o ? > > > > > > freebsd -HEAD ... i have build buildworld and buildenv .. make > > > ixp425/boot2 runs Ok but when trying to link these object i got these error > > > undefined __aeabi_llsl from boot2.o .. > > > > > > > > > sorry for my english .. > > > > > > here is image for this error > > > http://s21.postimg.org/qtnaikjyv/WP_20130928_005_1.jpg > > > > > > > > > > > just tested on 9.0 and evrething is OK .. > > On 9.x the default compiler is gcc using OABI. On 10 the default > compiler is clang and the default ABI is EABI. The ABI is what's > causing the problem in building boot2. On 10 you could set > WITHOUT_ARM_EABI=yes in your make.conf to work around it for now. > > The real fix is to figure out what we need to do to make eabi work in > standalone(ish) build environments like the bootloaders. > > -- Ian I should mention also that when you change compiler and/or abi using teh WITH/WITHOUT controls, you must recompile the entire world and kernel, or you'll get all kinds of strange errors at runtime. -- Ian