Re: Alpha fatal warning in kernel compile

2002-09-13 Thread Bruce Evans
On Thu, 12 Sep 2002, Kris Kennaway wrote: How are you supposed to disable -Werror in kernel builds? Setting Not :-). You are supposed to fix errors and not ignore them. ... cc1: warnings being treated as errors /local0/src2/sys/dev/ccd/ccd.c: In function `ccdiodone':

Re: Alpha fatal warning in kernel compile

2002-09-13 Thread Maxime Henrion
Bruce Evans wrote: cc1: warnings being treated as errors /local0/src2/sys/dev/ccd/ccd.c: In function `ccdiodone': /local0/src2/sys/dev/ccd/ccd.c:1181: warning: long long int format, daddr_t arg (arg 6) *** Error code 1 This is a routine printf format error. %lld format should only be

Alpha fatal warning in kernel compile

2002-09-12 Thread Kris Kennaway
How are you supposed to disable -Werror in kernel builds? Setting NO_WERROR in the env or passing it to 'make buildkernel' via -D doesn't work; neither does putting -Wno-error in COPTFLAGS. I get the following fatal warning when compiling a recent alpha 5.0 kernel under 4.x: cc -c -O -pipe

Re: Alpha fatal warning in kernel compile

2002-09-12 Thread Nate Lawson
On Thu, 12 Sep 2002, Kris Kennaway wrote: How are you supposed to disable -Werror in kernel builds? Setting NO_WERROR in the env or passing it to 'make buildkernel' via -D doesn't work; neither does putting -Wno-error in COPTFLAGS. I get the following fatal warning when compiling a recent

Re: Alpha fatal warning in kernel compile

2002-09-12 Thread Kris Kennaway
On Thu, Sep 12, 2002 at 01:52:40PM -0700, Nate Lawson wrote: NO_WERROR was removed so the only way is to set in your make.conf: WERROR= This causes the WERROR?=-Werror to not set the flag. Thanks, Bill Fenner also told me this on IRC. The directions in /usr/src/UPDATING need to be fixed

Re: Alpha fatal warning in kernel compile

2002-09-12 Thread Mike Barcroft
Kris Kennaway [EMAIL PROTECTED] writes: On Thu, Sep 12, 2002 at 01:52:40PM -0700, Nate Lawson wrote: (who wants NO_WERROR back or better, warns-clean code more often in -current) NO_WERROR is standard in userland; it should work in the kernel too. Peter removed support for this a while

Re: Alpha fatal warning in kernel compile

2002-09-12 Thread David O'Brien
On Thu, Sep 12, 2002 at 01:27:50PM -0700, Kris Kennaway wrote: How are you supposed to disable -Werror in kernel builds? Setting NO_WERROR in the env or passing it to 'make buildkernel' via -D doesn't work; neither does putting -Wno-error in COPTFLAGS. I get the following fatal warning when

Re: Alpha fatal warning in kernel compile

2002-09-12 Thread Kris Kennaway
On Thu, Sep 12, 2002 at 05:47:29PM -0700, David O'Brien wrote: On Thu, Sep 12, 2002 at 01:27:50PM -0700, Kris Kennaway wrote: How are you supposed to disable -Werror in kernel builds? Setting NO_WERROR in the env or passing it to 'make buildkernel' via -D doesn't work; neither does