lkml.org 
[lkml]   [2014]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scripts/gcc-version.sh: handle CC="gcc -m32"
Date
Rusty Russell <rusty@rustcorp.com.au> writes:
> Michal Marek <mmarek@suse.cz> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-01-22 06:41    [W:0.086 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site