• Jean Delvare's avatar
    kbuild: Fix gcc -x syntax · 56fb3d90
    Jean Delvare authored
    This is upstream commit b1e0d8b7
    backported to the 2.6.32.x stable branch.
    
    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 Michael Matz and Dirk Mueller for
    investigating the miscompilation issue and tracking it down to this
    incorrect -x parameter syntax.
    Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
    Cc: stable@vger.kernel.org
    Cc: Bernhard Walle <bernhard@bwalle.de>
    Cc: Michal Marek <mmarek@suse.cz>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
    56fb3d90
gcc-x86_64-has-stack-protector.sh 200 Bytes