* Jean Delvare <jdelv...@suse.de> 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.
> 
> Besides me, credits go to Richard Guenther and Dirk Mueller for
> investigating the miscompilation issue and tracking it down to this
> incorrect -x parameter syntax.
> 
> Signed-off-by: Jean Delvare <jdelv...@suse.de>
> Cc: sta...@vger.kernel.org
> Cc: Bernhard Walle <bernh...@bwalle.de>
> Cc: Michal Marek <mma...@suse.cz>
> Cc: Ralf Baechle <r...@linux-mips.org>
> ---
> Changes since v1:
>  * Found more occurrences of the same. These are probably less
>    problematic in practice but let's fix them all still.
> 
>  arch/mips/Makefile                         |    2 +-
>  arch/mips/kernel/Makefile                  |    2 +-
>  arch/x86/Makefile                          |    2 +-
>  scripts/Kbuild.include                     |   12 ++++++------
>  scripts/gcc-version.sh                     |    6 +++---
>  scripts/gcc-x86_32-has-stack-protector.sh  |    2 +-
>  scripts/gcc-x86_64-has-stack-protector.sh  |    2 +-
>  scripts/kconfig/check.sh                   |    2 +-
>  scripts/kconfig/lxdialog/check-lxdialog.sh |    2 +-
>  tools/perf/Makefile                        |    2 +-
>  tools/power/cpupower/Makefile              |    2 +-
>  11 files changed, 18 insertions(+), 18 deletions(-)

Acked-by: Ingo Molnar <mi...@kernel.org>

Michal, want to pick this one up into the kbuild tree?

Thanks,

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

Reply via email to