From owner-freebsd-arm@FreeBSD.ORG Sat Sep 28 18:26:50 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 008903CA for ; Sat, 28 Sep 2013 18:26:49 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9D582B4E for ; Sat, 28 Sep 2013 18:26:49 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1VPzE8-000OlN-D9; Sat, 28 Sep 2013 18:26:48 +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 r8SIQiMJ007921; Sat, 28 Sep 2013 12:26:44 -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: U2FsdGVkX18qQe2an5q0KG9paS2hoAWi Subject: Re: avila boot2 problem ? From: Ian Lepore To: Berislav Purgar In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Sat, 28 Sep 2013 12:26:44 -0600 Message-ID: <1380392804.1197.339.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:26:50 -0000 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