Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] problem with gcc and arch/tune/cpu option
@ 2007-01-24 14:56 Stéphane Champeau
  2007-01-25  0:18 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: Stéphane Champeau @ 2007-01-24 14:56 UTC (permalink / raw)
  To: buildroot

Hi all,

I have a problem with :
buildroot rev 17495
ARM920T / EABI / gcc 4.2 20070117
kernel 2.6.19.2 / binutils 2.17.50.0.9
uclibc snapshot / busybox snapshot
soft-float / LFS

I have this error :
Unknown CPU used in --with-cpu=arm
make[1]: *** [configure-gcc] Erreur 1
make[1]: quittant le r?pertoire 
?/buildroot/toolchain_build_arm_nofpu/gcc-4.2-initial ?
make: *** 
[buildroot/toolchain_build_arm_nofpu/gcc-4.2-initial/.compiled] Erreur 2

In fact gcc is configured with :
--with-cpu=arm --with-arch=arm --with-tune=arm
This is an error 
(http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#ARM-Options)

I think a part of patch 17473 break the toolchain :
In the file buildroot/toolchain/gcc/gcc-uclibc-3.x.mk line 384
if I put this :
GCC_WITH_ARCH=--with-arch=armv4t
GCC_WITH_TUNE=--with-tune=arm920t
GCC_WITH_CPU=--with-cpu=arm920t
instead of :
GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
I can build the toolchain

Sorry, but I can't make a patch, I hope this can help you.

St?phane

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

* [Buildroot] problem with gcc and arch/tune/cpu option
  2007-01-24 14:56 [Buildroot] problem with gcc and arch/tune/cpu option Stéphane Champeau
@ 2007-01-25  0:18 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-01-25  0:18 UTC (permalink / raw)
  To: buildroot

On Wed, Jan 24, 2007 at 03:56:58PM +0100, St?phane Champeau wrote:
>Hi all,
>
>I have a problem with :
>buildroot rev 17495
>ARM920T / EABI / gcc 4.2 20070117
>kernel 2.6.19.2 / binutils 2.17.50.0.9
>uclibc snapshot / busybox snapshot
>soft-float / LFS
>
>I have this error :
>Unknown CPU used in --with-cpu=arm
>make[1]: *** [configure-gcc] Erreur 1
>make[1]: quittant le r?pertoire 
>?/buildroot/toolchain_build_arm_nofpu/gcc-4.2-initial ?
>make: *** 
>[buildroot/toolchain_build_arm_nofpu/gcc-4.2-initial/.compiled] Erreur 2
>
>In fact gcc is configured with :
>--with-cpu=arm --with-arch=arm --with-tune=arm
>This is an error 
>(http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#ARM-Options)
>
>I think a part of patch 17473 break the toolchain :
>In the file buildroot/toolchain/gcc/gcc-uclibc-3.x.mk line 384
>if I put this :
>GCC_WITH_ARCH=--with-arch=armv4t
>GCC_WITH_TUNE=--with-tune=arm920t
>GCC_WITH_CPU=--with-cpu=arm920t
>instead of :
>GCC_WITH_ARCH=--with-arch=$(BR2_ARCH)
>GCC_WITH_TUNE=--with-tune=$(BR2_ARCH)
>GCC_WITH_CPU=--with-cpu=$(BR2_ARCH)
>I can build the toolchain

We will have to cleanup the BR2_ARCH, BR2_SUBARCH/BR2_CPU selection.. hmz

Thanks for noticing. I've reverted this bit until it gets fixed for
good. Sorry for any inconvenience this may have caused.

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

end of thread, other threads:[~2007-01-25  0:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24 14:56 [Buildroot] problem with gcc and arch/tune/cpu option Stéphane Champeau
2007-01-25  0:18 ` Bernhard Fischer

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