From: Thierry Bultel <thierry.bultel@wanadoo.fr>
To: buildroot@busybox.net
Subject: [Buildroot] crosstools build fails when hard fpu is selected
Date: Wed, 21 Nov 2012 11:23:20 +0100 [thread overview]
Message-ID: <50ACAB98.90607@wanadoo.fr> (raw)
Hello,
Using Buildroot-2012-08, I am building for arm-cortexa9-eabi,
crosstools+glibc, kernel base 2.6.38.8
I want to activate hardware floating point support, thus I have
unchecked the "Use software floating point by default"
My final aim is to use Neon, but the defaut Hardware FPU is fine at this
time.
The build (from scratch) fails when at glibc:
[INFO ] Installing C library headers & start files
[EXTRA] Configuring C library
[CFG ] configure: loading cache
/bigdisk/shared/Buildroot/output.imx6hardfpu/build/build-toolchain/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles/config.cache
[CFG ] checking build system type... i686-build_pc-linux-gnu
[CFG ] checking host system type... arm-unknown-linux-gnueabi
[CFG ] checking for arm-unknown-linux-gnueabi-gcc...
arm-unknown-linux-gnueabi-gcc
[ERROR] checking for suffix of object files... configure: error: in
`/bigdisk/shared/Buildroot/output.imx6hardfpu/build/build-toolchain/.build/arm-unknown-linux-gnueabi/build/build-libc-startfiles':
[ERROR] configure: error: cannot compute suffix of object files:
cannot compile
The config.log shows:
configure:2477: arm-unknown-linux-gnueabi-gcc -c -U_FORTIFY_SOURCE
-mlittle-endian -march=armv7-a -mtune=cortex-a9 -mfpu=neon
-mhard-float -O2 conftest.c >&5
conftest.c:1: sorry, unimplemented: -mfloat-abi=hard and VFP
GCC has not been generated with the harware FPU support.
I have attempted several hacks into
toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
... with no better success
Any ideas ?
Thanks and cheers
Thierry
next reply other threads:[~2012-11-21 10:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 10:23 Thierry Bultel [this message]
2012-11-21 12:25 ` [Buildroot] crosstools build fails when hard fpu is selected Thomas Petazzoni
2012-11-22 8:46 ` Thierry Bultel
2012-11-22 8:52 ` Thomas Petazzoni
2012-11-22 11:18 ` Thierry Bultel
[not found] ` <50ACEDD1.4010707@wanadoo.fr>
2012-11-21 17:33 ` [Buildroot] crosstools in buildroot " Yann E. MORIN
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=50ACAB98.90607@wanadoo.fr \
--to=thierry.bultel@wanadoo.fr \
--cc=buildroot@busybox.net \
/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