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

2014-01-21 Thread Rusty Russell
Rusty Russell writes: > Michal Marek 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 >>>

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

2014-01-16 Thread Michal Marek
On 15.1.2014 05:18, Rusty Russell wrote: > Michal Marek writes: >> On 3.1.2014 18:10, Michal Marek wrote: >>> On 2013-12-10 08:13, Rusty Russell wrote: Without it we get ugly warnings (though build still succeeds). $ make -j8 CC="gcc -m32" In file included from :0:0: /usr/

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

2014-01-15 Thread Rusty Russell
Michal Marek writes: > On 3.1.2014 18:10, Michal Marek wrote: >> On 2013-12-10 08:13, Rusty Russell wrote: >>> Without it we get ugly warnings (though build still succeeds). >>> >>> $ make -j8 CC="gcc -m32" >>> In file included from :0:0: >>> /usr/include/stdc-predef.h:30:26: fatal error: bits/pre

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

2014-01-03 Thread Michal Marek
On 3.1.2014 18:10, Michal Marek wrote: > On 2013-12-10 08:13, Rusty Russell wrote: >> Without it we get ugly warnings (though build still succeeds). >> >> $ make -j8 CC="gcc -m32" >> In file included from :0:0: >> /usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such file >> or di

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

2014-01-03 Thread Michal Marek
On 2013-12-10 08:13, Rusty Russell wrote: > Without it we get ugly warnings (though build still succeeds). > > $ make -j8 CC="gcc -m32" > In file included from :0:0: > /usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such file > or directory > #include >

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

2013-12-09 Thread Rusty Russell
Without it we get ugly warnings (though build still succeeds). $ make -j8 CC="gcc -m32" In file included from :0:0: /usr/include/stdc-predef.h:30:26: fatal error: bits/predefs.h: No such file or directory #include ^ compilation terminated. In file included from :0:0: /