xfs
[Top] [All Lists]

Re: kernel panic using xfs as modules and gcc-2.96

To: "Andreas Piesk" <a.piesk@xxxxxxx>
Subject: Re: kernel panic using xfs as modules and gcc-2.96
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jun 2001 11:17:43 +1000
Cc: "xfs ML" <linux-xfs@xxxxxxxxxxx>
In-reply-to: Your message of "Sat, 16 Jun 2001 20:20:52 +0200." <000401c0f6a9$2dcd0250$01000001@temple>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Sat, 16 Jun 2001 20:20:52 +0200, 
"Andreas Piesk" <a.piesk@xxxxxxx> wrote:
>but if i compile the kernel with exactly the same settings (it's a rpm)
>with gcc-2.96. it will crash. with egcs-2.91.66 it runs very well.

The oops at root remount in 2.4.5 is caused by an uninitialised dynamic
variable with undefined contents.  Different compilers leave different
garbage in dynamic variables, it is just concidence that the value from
gcc 2.96 breaks but the value from kgcc works.  The real bug is the
lack of initialisation.


<Prev in Thread] Current Thread [Next in Thread>