All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] software FP yada yada yada
Date: Thu, 12 Oct 2006 22:49:25 +0200	[thread overview]
Message-ID: <011f01c6ee45$0eefaba0$0d68fe51@atmel.com> (raw)
In-Reply-To: 20061012203005.DB047353BDE@atlas.denx.de

> In message <131AF8573CF31945B5B11E4201D3F1E142BA28@mail3.Avidyne.com> you wrote:
>> 
>> When I got 1.1.4, I get the infamous message about how u-boot needs a
>> software FP whereas my gcc is set up for hardware fp.
>> 
>> What I would LIKE to know is why 1.1.2 builds just fine but 1.1.4 does
>> not.
> 
> There have been so many changes between 1.1.2  and  1.1.4  that  it's
> difficult  to  tell  which specific change causes the problem, but if
> you check the "make" output you can clearly see where the problem  is
> coming  from  - your compiler fails to provide the required softfloat
> routines. Which is kind of funny, since there are  not  so  many  ARM
> systems with FPU around.
> 

According to the crosstool documentation at www.kegel.com:

Most combinations of gcc 3.x.x and binutils fails when you try to build a softfloat toolchain
All tested combinations of gcc-4.x.x and binutils fails if softfloat is enabled.
If you want to use gcc 4, you cannot build u-boot as is.

> My recommendation is to fix the toolchain

IIRC, An file included by the top makefile defines CFLAGS to include -msoftfloat.
Removing -msoftfloat from CFLAGS allows you to build U-boot with your normal compiler.
I did that, and u-boot 1.1.4 compiled fine after that. 

Personally, I think -msoftfloat should be optional.
Before Wolfgang start complaining about bloat, I'd like to point
out that due to segment boundaries in the AT45DB642D
a total of 256 kB is av ailable for the dataflashboot, u.boot and
u-boot environment and it is meaningless to save a byte here and there.

It is worth 10s of kB to be able to use a single toolchain to build
u-.boot, Linux and filesystem
.

> Best regards,
> 
> Wolfgang Denk
> 
> -- 


Best Regards
Ulf Samuelsson

  reply	other threads:[~2006-10-12 20:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 20:00 [U-Boot-Users] software FP yada yada yada Matt Gessner
2006-10-12 20:30 ` Wolfgang Denk
2006-10-12 20:49   ` Ulf Samuelsson [this message]
2006-10-12 21:35     ` Brent Cook
2006-10-12 21:44       ` Ulf Samuelsson
2006-10-12 21:57         ` Brent Cook
2006-10-12 21:48     ` Leonid
2006-10-12 23:16     ` Wolfgang Denk
2006-10-13  4:44       ` Ulf Samuelsson
2006-10-13  7:54         ` Robert Schwebel
  -- strict thread matches above, loose matches on Subject: below --
2006-10-12 20:32 Matt Gessner
2006-10-12 21:02 ` 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='011f01c6ee45$0eefaba0$0d68fe51@atmel.com' \
    --to=ulf@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.