Re: 2.4.0-test2 doesn't compile

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Sat Jun 24 2000 - 07:08:29 EST


In article <E135nnN-00084k-00@the-village.bc.nu> you wrote:
>> is the compiler. I use gcc-2.7.2.3. I've egcc-2.91.60 , but it is even worse.
>> 2.7.2.3 is recommended in linux/Documentation/Changes ...

> Are you sure if its gcc or binutils ?

It's gcc.

It comes down to this:

gcc 2.7.2.3 wants

"type attribute varname;", in this case

spinlock_t __cache_line_aligned runqueue_lock = SPIN_UNLOCKED;

while 2.95.2 also allows

"attribute type varname;"

__cache_line_aligned spinlock_t runqueue_lock = SPIN_UNLOCKED;

this later is in test2.

It makes me suspicious if gcc 2.95.2 gets the attribute right in the later
case though.

Greetings,
   Arjan van de Ven

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST