On Fri, 2003-10-03 at 23:31, Alexandre Oliva wrote:
On Oct 3, 2003, Sean Middleditch <elanthis(a)awesomeplay.com>
wrote:
> On Fri, 2003-10-03 at 20:19, Chris Vanhoof wrote:
>> Different compilers were used. Let the Nvidia installer think the
>> kernel was compiled with gcc-3.2 ;
>>
>> # CC=gcc32 sh NVIDIA-Linux-x86-1.0-4496-pkg2.run
> IGNORE_CC_MISMATCH=1 sh NVIDIA...
> is the documented way of doing the same, just for completeness' sake.
Documented but wrong. It's not safe to use a different compiler to
build a module than the compiler used to build the kernel. Small
differences between the ABIs implemented by the compilers could render
the whole system unstable.
True enough, but we don't get the exact compiler the kernel was compiled
with. It appears (for my current kernel, 2.4.22-1.2061.nptl) that it's
"gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)", which definitely
isn't the version of gcc I have from Severn, "gcc version 3.3.1 20030915
(Red Hat Linux 3.3.1-5)" - what choice do users have then? :(
--
Sean Middleditch <elanthis(a)awesomeplay.com>
AwesomePlay Productions, Inc.