Re: 2.1.114 linux/include/linux/sched.h problem - followup

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 4 Aug 1998 00:22:33 +0100 (BST)


> >compilation for the non-SMP case. What's the correct fix?
> >Unconditionally define INIT_LOCKS to be SPIN_LOCK_UNLOCKED?
>
> Nope. That won't cut it. DaveM's comment about some versions of gcc
> dumping core when an empty structure constant is parsed at the end of
> a large top level structure initialization definitely applies to
> gcc-2.7.2.3. gcc-2.8.1 is fine, and I would assume that egcs compilers
> are probably ok as well.

Since our string code is still capable of generating invalid code with
gcc 2.8.1/egcs that doesn't seem to be a valid answer either ;)

Alan

-
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.altern.org/andrebalsa/doc/lkml-faq.html