[ILUG] GCC versions on CentOS

Conor Wynne conor at discuskeeping.com
Thu Feb 2 08:11:21 GMT 2006


On 2 Feb 2006, at 00:27, Niall O Broin wrote:

> 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.

M'kay then, go and compile the kernel from sources -> using the  
config files and kernel sources from 2.6.9-22.0.2EL with you gcc.  
Should be grand then non?

You will likely have to make sure that uname -r still responds as  
vmware will like though.

> Niall





More information about the ILUG mailing list