Re: [PATCH] scripts/gcc-version.sh: handle CC="gcc -m32"

From: Rusty Russell
Date: Tue Jan 21 2014 - 23:54:34 EST


Rusty Russell <rusty@xxxxxxxxxxxxxxx> writes:
> Michal Marek <mmarek@xxxxxxx> writes:
>>> gcc: warning: â-mcpu=â is deprecated; use â-mtune=â or â-march=â instead
>>> gcc: warning: â-mcpu=â is deprecated; use â-mtune=â or â-march=â instead
>>> kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
>>> /*
>>> ^
>>> kernel/bounds.c:1:0: warning: -mregparm is ignored in 64-bit mode [enabled by default]
>>> make[1]: *** [kernel/bounds.s] Error 1
>>> make: *** [prepare0] Error 2

Sorry, ignore this report.

In case anyone else hits this: was resolved by installing more 32 bit headers
(Ubuntu's libc6-dev-i386 package, in this case).

Thanks,
Rusty.
--
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/