public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Piotr Zięcik" <kosmo@semihalf.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] CONFIG_API, EABI and raise()
Date: Tue, 14 Jul 2009 15:47:26 +0200	[thread overview]
Message-ID: <200907141547.26821.kosmo@semihalf.com> (raw)

Hi.

While working on U-Boot for our board we have found problem related to 
CONFIG_API option. In general, enabling it causes build failure. Our tests 
showed that problem exists also on other ARM U-Boot targets (for example 
davinci_dvevm).

Do you think that this problem may be caused by your libgcc-related cleanups ?
If so, do you have any idea how to fix it ?

Failing Build log:
arm-ld crt0.o -Ttext 0x1000000 \
                        -o demo demo.o libglue.a \
                        -L/home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2 -lgcc
arm-ld: ERROR: Source 
object /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_udivsi3.o) 
has EABI version 4, but target demo has EABI version 0
arm-ld: failed to merge target specific data of 
file /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_udivsi3.o)
arm-ld: ERROR: Source 
object /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_umodsi3.o) 
has EABI version 4, but target demo has EABI version 0
arm-ld: failed to merge target specific data of 
file /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_umodsi3.o)
arm-ld: ERROR: Source 
object /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_dvmd_lnx.o) 
has EABI version 4, but target demo has EABI version 0
arm-ld: failed to merge target specific data of 
file /home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_dvmd_lnx.o)
/home/services/eldk/4.2/arm/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/libgcc.a(_dvmd_lnx.o): 
In function `__div0':
/opt/eldk/build/arm-2008-11-24/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/gcc-4.2.2/gcc/config/arm/lib1funcs.asm:1000: 
undefined reference to `raise'

-- 
Best Regards,
Piotr Zi?cik

             reply	other threads:[~2009-07-14 13:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-14 13:47 Piotr Zięcik [this message]
2009-07-15 14:58 ` [U-Boot] CONFIG_API, EABI and raise() Mike Frysinger
2009-07-15 15:10   ` Stefan Roese
2009-07-15 15:12     ` Wolfgang Denk
2009-07-15 15:18       ` Stefan Roese
2009-07-15 15:15   ` Rafal Jaworowski
2009-07-15 16:09     ` Mike Frysinger
2009-07-16  8:37       ` Rafal Jaworowski
2009-07-16  8:46         ` Stefan Roese
2009-07-16  9:29           ` Rafal Jaworowski
2009-07-16 11:56           ` Wolfgang Denk
2009-07-17 14:18       ` Piotr Zięcik

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=200907141547.26821.kosmo@semihalf.com \
    --to=kosmo@semihalf.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox