public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Matthias Weißer" <m.weisser.m@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] undefined reference to `abort'
Date: Mon, 05 Dec 2011 18:56:48 +0100	[thread overview]
Message-ID: <4EDD05E0.6010203@googlemail.com> (raw)
In-Reply-To: <201112051228.55959.vapier@gentoo.org>

Am 05.12.2011 18:28, schrieb Mike Frysinger:
> On Monday 05 December 2011 11:43:09 Shadid, Bill wrote:
>> /opt/embedded/tools/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m8540/libgcc.a(d
>> ivsf3.o): In function `__divsf3':
>> /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/buil
>> d/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/sof
>> t-fp/divsf3.c:44: undefined reference to `abort'
> 
> looks like you should be using a diff cross-compiler.  or ppc should grow 
> private libgcc support.
> -mike

Or just don't use any floating point operations in a bootloader. There
seems to be some usages of floats around in u-boot but most (all?) of
them are compile time calculations.

Just curious: Bill, what is the use case for float at runtime?

Matthias

  reply	other threads:[~2011-12-05 17:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 16:43 [U-Boot] undefined reference to `abort' Shadid, Bill
2011-12-05 17:28 ` Mike Frysinger
2011-12-05 17:56   ` Matthias Weißer [this message]
2011-12-05 18:13     ` Shadid, Bill
2011-12-05 20:05       ` Wolfgang Denk
     [not found]         ` <E7F97B349C2A6843B718B2DDF2F9A8F01694328C@EMAIL.corp.neptec.com>
2011-12-05 22:37           ` Wolfgang Denk
2011-12-05 19:12     ` Mike Frysinger
2011-12-05 19:56 ` 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=4EDD05E0.6010203@googlemail.com \
    --to=m.weisser.m@googlemail.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