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

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



On Tue, Jul 08, 2003 at 06:03:22PM +0200, Jens Schmalzing wrote:
> 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?

more /proc/version 

should give you this info.

Friendly,

Sven Luther



Reply to: