From: Patrice Vilchez <patrice.vilchez@rfo.atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] EABI problem
Date: Fri, 06 Jul 2007 16:15:39 +0200 [thread overview]
Message-ID: <468E4E8B.2000107@rfo.atmel.com> (raw)
In-Reply-To: <468E4B70.8030907@balister.org>
Philip Balister a ?crit :
> Patrice Vilchez wrote:
>>> Which board?
>>>
>>>
>> For an AT91SAM9263EK board.
>> I am adding AT91 evaluation kits support to u-boot 1.2.0 and I
>> did some tests which several EABI compiler : codesourcery , open
>> embedded and buildroot.
>> It seems when there is a 64 bits division the compiler refers to
>> "_udivdi3" which is not implemented into "u-boot/lib_arm/" library
>> and then try to link with libgcc from compiler :
>
> I am also using an EABI compiler (from openembedded) and see these
> messages (among some other problems):
>
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_dvmd_lnx.o):
> In function `__div0':
> /home/balister/oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r4/gcc-4.1.2/gcc/config/arm/lib1funcs.asm:1001:
> undefined reference to `raise'
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0):
> undefined reference to `__aeabi_unwind_cpp_pr0'
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0):
> undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [u-boot] Error 1
>
> Philip
Are you compiling a file with a 64 bits division ?
I my case it was driver/nand/nand_utils.c enabled by adding
"CFG_CMD_NAND" to CONFIG_COMMANDS.
Patrice.
next prev parent reply other threads:[~2007-07-06 14:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 17:11 [U-Boot-Users] EABI problem Patrice Vilchez
2007-07-06 13:29 ` Peter Pearse
2007-07-06 13:45 ` Patrice Vilchez
2007-07-06 14:02 ` Philip Balister
2007-07-06 14:15 ` Patrice Vilchez [this message]
2007-07-06 14:22 ` Philip Balister
2007-07-06 14:33 ` Patrice Vilchez
-- strict thread matches above, loose matches on Subject: below --
2007-11-01 16:02 [U-Boot-Users] EABI Problem Russ Ferriday
2007-11-02 15:37 ` Johannes Stezenbach
2007-11-05 16:18 ` Johannes Stezenbach
2007-11-05 19:26 ` Wolfgang Denk
2007-11-05 21:25 ` Johannes Stezenbach
2007-11-06 5:31 ` Stefan Roese
2007-11-06 7:33 ` Wolfgang Denk
2007-11-06 13:30 ` Philip Balister
2007-11-16 20:39 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468E4E8B.2000107@rfo.atmel.com \
--to=patrice.vilchez@rfo.atmel.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.