The current amd64 snapshot already contains clang 13.
On Dec 19 15:23:34, y...@v007.vaio.ne.jp wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> > Kernel Makefiles were adjusted to compile with clang 13. Either take
> > out the warnings so you can compile with old-clang, or rebuild
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
> Kernel Makefiles were adjusted to compile with clang 13. Either take
> out the warnings so you can compile with old-clang, or rebuild clang.
I'm trying to rebuild clang now.
I believe the steps are:
# cd /usr/src/gnu/usr.bin/clang/
# make cle
S=80 -D_KERNEL -MD -MP -MF assym.P > assym.h.tmp
> error: unknown warning option '-Wno-unused-but-set-variable'; did you mean
> '-Wno-unused-const-variable'? [-Werror,-Wunknown-warning-option]
> *** Error 1 in /usr/src/sys/arch/i386/compile/GENERIC (Makefile:1286
-DWSDISPLAY_COMPAT_USL -DWSDISPLAY_COMPAT_RAWKBD
-DWSDISPLAY_DEFAULTSCREENS="6" -DX86EMU -DONEWIREVERBOSE -DMAXUSERS=80
-D_KERNEL -MD -MP -MF assym.P > assym.h.tmp
error: unknown warning option '-Wno-unused-but-set-variable'; did you mean
'-Wno-unused-const-variable'?
4 matches
Mail list logo