Re: [SLUG] Ubuntu gcc version problem

2008-10-28 Thread david



Ian Wienand wrote:

On Mon, Oct 27, 2008 at 11:38:15PM +1100, david wrote:

When I run vmware-config.pl I get the following warning message:

Your kernel was built with gcc version 4.2.3, while you are trying to use
/usr/bin/gcc version 4.2.4.

What version am I running? Should I care? vmware-config.pl gives dire 
warnings about impending crashes, although I've found two posts on the 
net suggesting that I can bypass the warning.


It's warning you because different versions of gcc *might* do things
like layout structures differently, meaning the newly built modules
*might* get a wrong offset and end-up poking around where they're not
supposed to (i.e. ABI compatability).

The results could be from nothing at all to all hell breaking loose.
However, for a minor version bump like this it is very unlikely
anything like that changed in gcc, so you should be fine.




You turned out to be right. So far nothing has gone wrong. If things go down 
hill I'll post again :-)


I'm naive enough to think that computing should be an exact science.


If you want to be really sure, re-compile your kernel with the gcc on
your system now.

-i

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Ubuntu gcc version problem

2008-10-27 Thread david

Just upgraded.

There only seems to be one version of gcc available in the repositories.

apt-cache show gcc-4.2 tells me I have Version: 4.2.3-2ubuntu7

[EMAIL PROTECTED]:~$ gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu3)

[EMAIL PROTECTED]:~$ cat /proc/version
Linux version 2.6.24-21-generic ([EMAIL PROTECTED]) (gcc version 4.2.3 (Ubuntu 
4.2.3-2ubuntu7))



When I run vmware-config.pl I get the following warning message:

Your kernel was built with gcc version 4.2.3, while you are trying to use
/usr/bin/gcc version 4.2.4.

What version am I running? Should I care? vmware-config.pl gives dire warnings 
about impending crashes, although I've found two posts on the net suggesting 
that I can bypass the warning.


Failing that, is it a reasonable workaround to restart with an older kernel?

thanks,

David.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Ubuntu gcc version problem

2008-10-27 Thread Ian Wienand
On Mon, Oct 27, 2008 at 11:38:15PM +1100, david wrote:
 When I run vmware-config.pl I get the following warning message:

 Your kernel was built with gcc version 4.2.3, while you are trying to use
 /usr/bin/gcc version 4.2.4.

 What version am I running? Should I care? vmware-config.pl gives dire 
 warnings about impending crashes, although I've found two posts on the 
 net suggesting that I can bypass the warning.

It's warning you because different versions of gcc *might* do things
like layout structures differently, meaning the newly built modules
*might* get a wrong offset and end-up poking around where they're not
supposed to (i.e. ABI compatability).

The results could be from nothing at all to all hell breaking loose.
However, for a minor version bump like this it is very unlikely
anything like that changed in gcc, so you should be fine.

If you want to be really sure, re-compile your kernel with the gcc on
your system now.

-i
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html