[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-patch-2.4.21-powerpc packages available for testing.



Hi,

Michael Schmitz writes:

> what's the reason for gcc 2.95 compiled kernels and gcc 3.3 compiled
> modules to not cooperate cleanly?

This:

#if (__GNUC__ > 2 || __GNUC_MINOR__ > 95)
  typedef struct { } spinlock_t;
  #define SPIN_LOCK_UNLOCKED (spinlock_t) { }
#else
  typedef struct { int gcc_is_buggy; } spinlock_t;
  #define SPIN_LOCK_UNLOCKED (spinlock_t) { 0 }
#endif

> So yes, this situation definitely warrants a debconf message.

Anybody aware of a method of finding the gcc version that was used to
build the running kernel, other than grepping /var/log/dmesg and
hoping it is correct?

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!



Reply to: