Re: [PATCH] kbuild: Fix gcc -x syntax

From: Ingo Molnar
Date: Sat Sep 29 2012 - 03:37:50 EST



* Jean Delvare <jdelvare@xxxxxxx> wrote:

> The correct syntax for gcc -x is "gcc -x assembler", not "gcc
> -xassembler". Even though the latter happens to work, the
> former is what is documented in the manual page and thus what
> gcc wrappers such as icecream do expect.
>
> This isn't a cosmetic change. The missing space prevents
> icecream from recognizing compilation tasks it can't handle,
> leading to silent kernel miscompilations.

Although we can apply this patch, it won't solve the problem of
building older kernels (and bisecting, etc.).

Wouldn't it be prudent to increase the compatibility of
icecream, so that it accepts what GCC accepts in practice,
such as -xassembler?

Thanks,

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