Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: failure to build current on amd64
On Jan 8, 2020 6:38 AM, Riccardo Mottola <riccardo.mottola%libero.it@localhost> wrote:
>
> Hi!
>
> current fails do build userland for me:
>
> # compile libclangARCMigrate/Transforms.o
> /usr/src/obj/tooldir.NetBSD-9.99.34-amd64/bin/x86_64--netbsd-c++
> -frandom-seed=dedfa0f2 -O2 -march=core2 -Werror -Wno-stringop-overflow
> -fPIE -march=core2 -std=c++14 -fno-rtti -fno-exceptions
> -fno-strict-aliasing -ffunction-sections -fdata-sections
> --sysroot=/usr/src/obj/destdir.amd64 -I.
> -I/usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../dist/clang/include
> -I/usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../dist/llvm/include
> -I/usr/src/external/apache2/llvm/include/obj
> -I/usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../config
> -I/usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../config -c
>
> /usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../dist/clang/lib/ARCMigrate/Transforms.cpp
> -o Transforms.o
> In file included from
> /usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../dist/clang/lib/ARCMigrate/Transforms.cpp:18:
> /usr/src/external/apache2/llvm/lib/libclangARCMigrate/../../dist/clang/include/clang/Sema/Sema.h:2566:42:
> error: 'clang::Sema::DefaultedFunctionKind::Comparison' is too small to
> hold all values of 'enum class clang::Sema::DefaultedComparisonKind'
> [-Werror]
> DefaultedComparisonKind Comparison : 8;
> ^
> cc1plus: all warnings being treated as errors
>
> *** Failed target: Transforms.o
>
>
> but I have a further question. I put in my /etc/mk.conf
>
> MKLLVM = NO
> MKLLVMRT = NO
>
>
> yet I think it is building it anyway????
>
> Riccardo
I built current yesterday no problem.
I have tried the MKXXX=NO for lots of stuff and they always fail, so I'm not sure what the correct way to use them is.
Edgar
Home |
Main Index |
Thread Index |
Old Index