Re: gcc4.6,how to remove werror

2011-12-01 Thread tknv
I could not find that WERROR override code at my kernels... Sorry delay it, I did make V=1. There are three kinds test. All targets are ARM. All Makefiles(top of kernel tree)-KBUILD_CFLAGS are same. KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-stric

Re: gcc4.6,how to remove werror

2011-11-30 Thread Dave Martin
On Tue, Nov 29, 2011 at 09:43:01PM +0700, tknv wrote: > This issue happend,when I was compiling ARM kernel. > I could not get it where -Werror gets overriden in tools/perf. > Could you tell me where is it ? In tools/perf/Makefile: 34:# Define WERROR=0 to disable treating any warnings as errors. 6

Re: gcc4.6,how to remove werror

2011-11-29 Thread tknv
This issue happend,when I was compiling ARM kernel. I could not get it where -Werror gets overriden in tools/perf. Could you tell me where is it ? On Tue, Nov 29, 2011 at 01:53:40PM +, Dave Martin wrote: > On Sun, Nov 27, 2011 at 02:09:29AM +0700, tknv wrote: > > Sorry for lacking information.

Re: gcc4.6,how to remove werror

2011-11-29 Thread Dave Martin
On Sun, Nov 27, 2011 at 02:09:29AM +0700, tknv wrote: > Sorry for lacking information. > I would like to explain again. > When I compile kernel with gcc-4.4.3 and remove Werror from Makefile of > top of kernel tree, then no warnings to error. > When using gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubu

Re: gcc4.6,how to remove werror

2011-11-26 Thread tknv
Sorry for lacking information. I would like to explain again. When I compile kernel with gcc-4.4.3 and remove Werror from Makefile of top of kernel tree, then no warnings to error. When using gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) and also remove Werror from Makefile of top of kernel tree

Re: gcc4.6,how to remove werror

2011-11-24 Thread Michael Hope
On Fri, Nov 25, 2011 at 12:01 AM, Dave Martin wrote: > On Thu, Nov 24, 2011 at 08:28:53AM +1300, Michael Hope wrote: >> On Thu, Nov 24, 2011 at 6:51 AM, Dave Martin wrote: >> > On Wed, Nov 23, 2011 at 09:41:52PM +0700, tknv wrote: >> >> Thank you very much, quick reply. >> >> Yes, It is right," i

Re: gcc4.6,how to remove werror

2011-11-24 Thread Dave Martin
On Thu, Nov 24, 2011 at 08:28:53AM +1300, Michael Hope wrote: > On Thu, Nov 24, 2011 at 6:51 AM, Dave Martin wrote: > > On Wed, Nov 23, 2011 at 09:41:52PM +0700, tknv wrote: > >> Thank you very much, quick reply. > >> Yes, It is right," it may be better to improve the code instead of turning > >>

Re: gcc4.6,how to remove werror

2011-11-23 Thread Michael Hope
On Thu, Nov 24, 2011 at 6:51 AM, Dave Martin wrote: > On Wed, Nov 23, 2011 at 09:41:52PM +0700, tknv wrote: >> Thank you very much, quick reply. >> Yes, It is right," it may be better to improve the code instead of turning >> of the error check." >> But this time I would like to testing some modu

Re: gcc4.6,how to remove werror

2011-11-23 Thread Dave Martin
On Wed, Nov 23, 2011 at 09:41:52PM +0700, tknv wrote: > Thank you very much, quick reply. > Yes, It is right," it may be better to improve the code instead of turning of > the error check." > But this time I would like to testing some modules at first even any > warnings occur at other modules. >

Re: gcc4.6,how to remove werror

2011-11-23 Thread tknv
Thank you very much, quick reply. Yes, It is right," it may be better to improve the code instead of turning of the error check." But this time I would like to testing some modules at first even any warnings occur at other modules. I removed -Werror from Makefile at modules have warnings. By the w

Re: gcc4.6,how to remove werror

2011-11-23 Thread Dave Martin
On Wed, Nov 23, 2011 at 01:54:44PM +0700, tknv wrote: > Hello,When I compile armel kernel by gcc4.6 on Linux du > 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 > i686 i386 GNU/Linux. > tknv@du:~$ arm-linux-gnueabi-gcc -v > Using built-in specs. > COLLECT_GCC=arm-linux-gnueabi

gcc4.6,how to remove werror

2011-11-22 Thread tknv
Hello,When I compile armel kernel by gcc4.6 on Linux du 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux. tknv@du:~$ arm-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/lto-