Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 09:36:48 +0400
From:      S.N.Grigoriev <serguey-grigoriev@yandex.ru>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: CLang and WERROR
Message-ID:  <1567991339565808@web23h.yandex.ru>
In-Reply-To: <4FD7AFA8.8030807@FreeBSD.org>
References:  <201206121325.q5CDPNnt078479@freefall.freebsd.org> <33681339512137@web15h.yandex.ru> <4FD7AFA8.8030807@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


13.06.2012, 01:07, "Dimitry Andric" <dim@FreeBSD.org>:
> 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.

It works fine for me. Thanks, Dimitry!

Regards,
Serguey.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1567991339565808>