public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP...
Date: Wed, 02 Mar 2005 13:34:39 +0100	[thread overview]
Message-ID: <4225B2DF.40301@imc-berlin.de> (raw)

Hi there,

I just tried

CROSS_COMPILE=arm-softfloat-linux-gnu- ./MAKEALL ARM9

on the CVS HEAD but got

arm-softfloat-linux-gnu-ld: ERROR: 
/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.4.27/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3/libgcc.a(_divsi3.oS) 
uses hardware FP, whereas u-boot uses software FP
arm-softfloat-linux-gnu-ld: failed to merge target specific data of file 
/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.3.3-glibc-2.3.2-linux-2.4.27/lib/gcc-lib/arm-softfloat-linux-gnu/3.3.3/libgcc.a(_divsi3.oS)
make: *** [u-boot] Fehler 1

for at91rm9200dk and cmc_pu2.

Removing " -msoft-float" from /cpu/at91rm9200/config.mk solves this problem.

But why?

My toolchain gcc-3.3.3-glibc-2.3.2-linux-2.4.27 was built with crosstool using

export TARGET=arm-softfloat-linux-gnu
export TARGET_CFLAGS="-O"
export GCC_EXTRA_CONFIG="--with-float=soft"
export GLIBC_EXTRA_CONFIG="--without-fp"
export BINUTILS_DIR=binutils-2.15
export GCC_DIR=gcc-3.3.3
export GLIBC_DIR=glibc-2.3.2
export LINUX_DIR=linux-2.4.27

so I am pretty sure that I am using softfloat by default. But then why is it a 
problem if I pass -msoft-float to the compiler?

Thanks!

-- 
Steven

             reply	other threads:[~2005-03-02 12:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-02 12:34 Steven Scholz [this message]
2005-03-02 16:22 ` [U-Boot-Users] ...uses hardware FP, whereas u-boot uses software FP Wolfgang Denk
2005-03-03 11:23   ` Steven Scholz
2005-03-03 16:03     ` Wolfgang Denk
2005-03-03 16:41       ` Steven Scholz
2005-03-03 16:52         ` Wolfgang Denk
2005-03-03 16:57           ` Steven Scholz
2005-03-04 23:39             ` Wolfgang Denk
2005-03-05 13:38               ` Steven Scholz
2005-03-05 14:19                 ` 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=4225B2DF.40301@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --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