From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Date: Wed, 20 Jun 2007 21:38:07 +0000 Subject: Re: [KJ] [PATCH] Centralize checking for adequate version of gcc. Message-Id: <20070620213807.GJ12950@stusta.de> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org On Fri, Jun 15, 2007 at 06:52:17AM -0400, Robert P. J. Day wrote: >... > --- a/include/linux/compiler.h > +++ b/include/linux/compiler.h >... > +#elif __GNUC__ = 4 && __GNUC_MINOR__ = 1 && __GNUC_PATCHLEVEL__ = 0 > +# warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended. > +#elif __GNUC__ = 4 > # include >... This breaks compilation with gcc 4.1.0 cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors