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:we already have several of these.Adrian Bunk wrote:The gcc Bugzilla contains a testcase.Expect a lot more of this to pop up in the future.it/s better to find if the gcc guys made a testcase for this bug (they normally do) and
Should we #error for gcc 4.3.1?
test based on that.
But how do you plan to integrate it into a kernel build?
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.