opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-stable@freebsd.org 13 June 2012 • 5:07AM -0400

Re: CLang and WERROR
by Dimitry Andric

REPLY TO AUTHOR
 
REPLY TO GROUP




On 2012-06-12 16:42, S.N.Grigoriev wrote:
> I've found out that CLang requires again NO_WERROR= and WERROR= statements in /etc/src.conf to build kernel from fresh sources. Older sources (at least up to June 4) did not require that. The following error occures:
>
> clang -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm -std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign  -o aicasm aicasm.o aicasm_symbol.o aicasm_gram.o aicasm_macro_gram.o aicasm_scan.o aicasm_macro_scan.o -ll
> clang: error: argument unused during compilation: '-nostdinc'
...

Ah, thanks for noticing.  I had forgotten to merge one additional change
that was needed.

Please update your stable/9 to r236975, which should fix this.
_______________________________________________
freebsd-stable@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.