lkml.org 
[lkml]   [2003]   [Jun]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 25 Jun 2003 11:21:50 +0200
FromMikael Pettersson <>
SubjectRe: 2.5.73 -- Uninitialised timer! (i386)
Andrew Morton writes:
 > Mikael Pettersson <mikpe@csd.uu.se> wrote:
 > > > > Apply the patch below (which I posted to LKML yesterday btw).
 > >  2.5.73 incorrectly removed the workaround needed to prevent
 > >  gcc-2.95.x from miscompiling spinlocks on UP (they become
 > >  empty structs, and gcc-2.95.x has problems with those).
 > 
 > Are you sure?  I saw no problems with 2.95.3.  Maybe it's
 > a 2.95.4 problem?

I know the problem exists in 2.95.3 since that's the one I
used for my initial 2.5.73 testing. Having seen the spinlock.h
patch, I strongly suspected things would break.

If I remember correctly, the empty struct miscompilation exists
in all old egcs and gcc-2.95 versions, but was fixed during 3.0
development, so 2.96 is apparently also Ok.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008