[ILUG] GCC versions on CentOS

Niall O Broin niall at linux.ie
Thu Feb 2 00:27:26 GMT 2006


On 1 Feb 2006, at 23:00, Paul Jakma wrote:

> On Wed, 1 Feb 2006, Niall O Broin wrote:
>
>> I have a VMware guest which is running CentOS 4.2. I am trying to 
>> install the VMware tools but the build process fails because it says 
>> that I am using gcc 3.4.4 but the kernel I am using (latest = 
>> 2.6.9-22.0.2.EL) is built with gcc 3.4.5 and this could lead to 
>> incompatibilities and crashes.
>
> That seems unlikely. Presuming neither is buggy, C calling conventions 
> are /really/ stable. Only significant thing really is 
> register-parameters, but as long as you use the same compiler options 
> as your kernel was built with.. (which, if the modules' build setup is 
> good, it should do automatically).

Well TBH I was prepared to give it a lash anyway, despite these dire 
warnings from VMware. But I was very surprised that the CentOS kernel 
is being built with a version of gcc which CentOS doesn't distribute.


Niall




More information about the ILUG mailing list