Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] crosstools build fails when hard fpu is selected
@ 2012-11-21 10:23 Thierry Bultel
  2012-11-21 12:25 ` Thomas Petazzoni
       [not found] ` <50ACEDD1.4010707@wanadoo.fr>
  0 siblings, 2 replies; 6+ messages in thread
From: Thierry Bultel @ 2012-11-21 10:23 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-22 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 10:23 [Buildroot] crosstools build fails when hard fpu is selected Thierry Bultel
2012-11-21 12:25 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox