GCC version to kernel version

Clint Thomas cthomas at Soneticom.com
Sat Oct 14 01:39:37 EST 2006


I tried building some different cross-tools earlier on today that used
GCC 3.4.3 and GLIBC 2.3.3 (I believe Kumar, you provided links to these
in another mailing list) They were from some e500 patches to
crosstool-0.28, but I decided to just patch crosstool-0.42 since that is
what is available. They were not able to compile my linux kernel source
without a build error, so I am running out of ideas. I have been trying
to build GCC 3.4.1 / GLIBC 2.3.3 by passing it the necessary
TARGET_CFLAGS="-msoft-float -mno-string -Wa,-me500 -O2" and
GLIBC_EXTRA_CONFIG="--without-fp", but this is not building correctly
either. Any advice or recommendations are appreciated.

Clint

-----Original Message-----
From: Kumar Gala [mailto:galak at kernel.crashing.org] 
Sent: Friday, October 13, 2006 11:34 AM
To: Clint Thomas
Cc: linuxppc-embedded at ozlabs.org
Subject: Re: GCC version to kernel version


On Oct 13, 2006, at 9:55 AM, Clint Thomas wrote:

> Hey guys,
>
> Generic question here. To each linux kernel version, is there a 
> specific version of GCC and GLIBC I should be using to build the 
> kernel, RFS, etc? I cannot seem to find any concrete proof that this 
> is the case, but I am having issues building a new RFS with my older 
> GCC and GLIBC, so I'm looking at updating them. I'm currently using 
> GCC 3.3.2 and GLIBC 2.3.2 to build for the Linux 2.4.27 kernel on an 
> e500 (MPC8541) core. Thanks!
>

It depends on what user space functionality you want/need form e500.   
If you plan on using SPE or fp I'd say to make sure to get tools chains
that support e500.  If you are just running normal integer code than any
toolchain should be fine.

- k



More information about the Linuxppc-embedded mailing list