[U-Boot] Missing __udivdi3 for ARM

J.C. Wren jcwren at jcwren.com
Sat Aug 1 21:43:08 CEST 2009


I thought the idea was to move u-boot away from libgcc dependencies.  Or did
I misread that?  I know that a previous problem I commented on was solved by
adding a __xxxxx.S function the u-boot library.
--jc

On Sat, Aug 1, 2009 at 10:40 AM, Wolfgang Denk <wd at denx.de> wrote:

> Dear Jean-Christophe PLAGNIOL-VILLARD,
>
> In message <20090801132619.GA19785 at game.jcrosoft.org> you wrote:
> > On 17:40 Fri 31 Jul     , J.C. Wren wrote:
> > > I enabled CONFIG_YAFFS2 for ARM, and got the following message:
> > > /home/user/u-boot/fs/yaffs2/yaffscfg.c:185: undefined reference to
> > > `__udivdi3'
> > just use lldiv
>
> The big question here is if such a change makes sense; please keep in
> mind that the yaffs2 code is just borrowed from Linux, so changes
> should be kept to a minimum.
>
> Actually I think it is only reasonable to assume that libgcc.a should
> include such a function.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> There is a multi-legged creature crawling on your shoulder.
>        -- Spock, "A Taste of Armageddon", stardate 3193.9
>


More information about the U-Boot mailing list