Bugzilla – Bug 460143
Wrong compiler is shipping with product
Last modified: 2009-01-18 15:08:14 UTC
Your kernel was built with "gcc" version "4.3.2", while you are shipping "/usr/bin/gcc" version "4.3". This configuration is not recommended and server may crash if customers don't use exactly the same compiler as one used for building your kernel. To reproduce: 1. install everything (right-click and select "all in this list" during install) 2. observe the installed compiler version differs from the version used to compile the kernel.
What does "gcc --version" say for you? Shows 4.3.2 for me.
Guess this message comes from vmware-config.pl in versions up to 6.0.x, right? If so, it's not SUSE to blame. If you're in 6.0.x you can ignore this. 6.5.x doesn't throw the message. If not, please tell where the message comes from.
yes, this is a vmware issue. have seen this several times. iirc, there was a workaround in vmware.
Closing bug , if you have some logs, than reopen the bug.
Looks like someone changed the functionality of the gcc "dumpversion" command since SUSE10.3 - since this appears to be the only way to extract the actual numeric version of the compiler without all the eye-candy (thus being suitable for consumtion by 3rd party scripts etc) - I'd suggest that this is some kind of bug - although perhaps in the way you've chosen to configure/compile gcc itself, rather than what actaul version you've shipped. Compare, for example, the 2 outputs from below. ------- from 11.1 -------- # gcc -dumpversion 4.3 # cat /etc/issue Welcome to openSUSE 11.1 - Kernel \r (\l). # uname -a Linux hot 2.6.27.7-4-default #1 SMP 2008-11-25 00:02:37 +0100 x86_64 x86_64 x86_64 GNU/Linux # gcc --version gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ------- from 10.3 -------- # gcc -dumpversion 4.2.1 # cat /etc/issue Welcome to openSUSE 10.3 (X86-64) - Kernel \r (\l). # uname -a Linux ca2 2.6.22.17-0.1-default #1 SMP 2008/02/10 20:01:04 UTC x86_64 x86_64 x86_64 GNU/Linux # gcc --version gcc (GCC) 4.2.1 (SUSE Linux) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --------------------------- Changing the functionality of something as important as the compiler version output switch in gcc strikes me as being somewhat of a "Bad Idea"(tm) :-)
i have seen some more bugreports where people have problems with dumpversion only returning part of the version information, i.e. 4.3 instead of 4.3.1. anyway, i think i`t strange. is "dumpversion" expected to show different version number information apart from "--version" ? i thought it was just a script-friendly param to avoid users needing to grep/cut the version number theirself, so why does it differ ?
Switch dumpversion is internal for gcc path resolving and the script should use last line output from gcc -v instead. See bug #391432. *** This bug has been marked as a duplicate of bug 391432 ***