Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 12:28:31 -0600
From:      Ian Lepore <ian@FreeBSD.org>
To:        Berislav Purgar <bpurgar@gmail.com>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: avila boot2 problem ?
Message-ID:  <1380392911.1197.340.camel@revolution.hippie.lan>
In-Reply-To: <1380392804.1197.339.camel@revolution.hippie.lan>
References:  <CAAUsrB7yKL%2Bh3cNtSZe-Zb=3Jc=CvZb=jfyxkYJrFTC3f5s3Pg@mail.gmail.com> <CAAUsrB7%2BfqEo787syTExg_ZKb7J6aS9rDMPa7P7ZC7jqqAUM-Q@mail.gmail.com> <1380392804.1197.339.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <bpurgar@gmail.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1380392911.1197.340.camel>