Messages in this thread | | | Date | Thu, 19 Jun 2008 18:25:01 +0300 | From | Adrian Bunk <> | Subject | Re: kerneloops.org: 2.6.26-rc possible regression in ext3 |
| |
On Thu, Jun 19, 2008 at 08:18:39AM -0700, Arjan van de Ven wrote: > Adrian Bunk wrote: >> On Thu, Jun 19, 2008 at 06:40:05AM -0700, Arjan van de Ven wrote: >>> Adrian Bunk wrote: >>>> Expect a lot more of this to pop up in the future. >>>> Should we #error for gcc 4.3.1? >>> it/s better to find if the gcc guys made a testcase for this bug (they normally do) and >>> test based on that. >> >> The gcc Bugzilla contains a testcase. >> >> But how do you plan to integrate it into a kernel build? > > we already have several of these. > Just look at scripts/gcc-x86_64-has-stack-protector.sh for an example of such a beast.
Checking whether gcc supports some flags is easy.
But miscompilations are a different issue.
Especially since we also want to reject broken gcc versions for cross compilations.
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
| |