Re: 3.3: Compilation error "error: stray â\33â in program"

From: Peter Alfredsen
Date: Mon Apr 30 2012 - 00:50:47 EST


On Mon, Mar 19, 2012 at 12:52 PM, Peter Alfredsen
<peter.alfredsen@xxxxxxxxx> wrote:
> Using the attached x86_64 .config generated by "make oldconfig", I'm
> getting the following output:
> loki linux-3.3-rc1 # make clean && make
> ÂCLEAN Â .
> ÂCLEAN Â .tmp_versions
> ÂHOSTCC Âscripts/basic/fixdep
> ÂHOSTCC Âscripts/kconfig/conf.o
> ÂHOSTCC Âscripts/kconfig/zconf.tab.o
> ÂHOSTLD Âscripts/kconfig/conf
> scripts/kconfig/conf --silentoldconfig Kconfig
> make[1]: Nothing to be done for `all'.
> ÂCHK Â Â include/linux/version.h
> ÂCHK Â Â include/generated/utsrelease.h
> ÂCC Â Â Âkernel/bounds.s
> ÂGEN Â Â include/generated/bounds.h
> ÂCC Â Â Âarch/x86/kernel/asm-offsets.s
> In file included from arch/x86/kernel/asm-offsets_64.c:5:0,
> Â Â Â Â Â Â Â Â from arch/x86/kernel/asm-offsets.c:27:
> arch/x86/include/generated/asm/syscalls_64.h:1:1: error: stray â\33â in program
> arch/x86/include/generated/asm/syscalls_64.h:1:1: error: expected
> expression before â[â token
> arch/x86/include/generated/asm/syscalls_64.h:1:52: error: invalid
> suffix "m" on integer constant
> <snip a zillion lines>
> arch/x86/include/generated/asm/syscalls_32.h:327:1: error: stray â\33â
> in program
> arch/x86/include/generated/asm/syscalls_32.h:327:1: error: stray â\33â
> in program
> arch/x86/include/generated/asm/syscalls_32.h:327:1: error: stray â\33â
> in program
> arch/x86/kernel/asm-offsets_64.c:4:13: warning: âsyscalls_64â defined
> but not used
> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
>
> Using the original .config from 3.2.5, I can compile 3.2.5 fine.
> 3.3-rc1 errors out as above, so the patch responsible must have come
> from the initial merge.
>
> /Peter

This turned out to be a stray GREP_OPTIONS=--color=yes environment
variable. Unsetting it fixed the problem.
--
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/