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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux