dotnet-core-7.0 fails to build from source
Description:
dotnet-core-7.0 fails to build with clang 18. Support for clang 18 has been added to dotnet-core 6 and dotnet-core 8 as those two releases are still maintained.
Additional info:
- dotnet-core-7.0 7.0.20.sdk120-1
- clang 18.1.8-2
- https://github.com/dotnet/runtime/commit/ab416e9ef39c6709b815e6ca31753a4c6e44ed58
- dotnet-core-7.0-7.0.20.sdk120-1-x86_64-build.log.xz
Steps to reproduce:
$ pkgctl repo clone --protocol https dotnet-core-7.0
$ cd dotnet-core-7.0/
$ updpkgsums # https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core-7.0/-/issues/2
$ pkgctl build
....
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.IO.Compression.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.IO.Compression.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.IO.Compression.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/include -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Wno-strict-prototypes -Wno-implicit-fallthrough -Wno-vla-parameter -MD -MT libs-native/System.IO.Compression.Native/CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/common/transform.c.o -MF CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/common/transform.c.o.d -o CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/common/transform.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/common/transform.c
[ 6%] Building CXX object md/ceefilegen/CMakeFiles/ceefgen_obj.dir/pesectionman.cpp.o
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_networking.c:5:
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_networking.h:7:
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_io.h:8:
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_errno.h:6:
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common/pal_error_common.h:148:5: warning: 'switch' missing 'default' label [-Wswitch-default]
148 | switch (platformErrno)
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common/pal_error_common.h:340:5: warning: 'switch' missing 'default' label [-Wswitch-default]
340 | switch (error)
| ^
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/ceefilegen && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -D__TODO_PORT_TO_WRAPPERS__ -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/ceefilegen -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/ceefilegen -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/ceefilegen/../inc -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/ceefilegen/CMakeFiles/ceefgen_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/ceefilegen/CMakeFiles/ceefgen_obj.dir/cmake_pch.hxx -MD -MT md/ceefilegen/CMakeFiles/ceefgen_obj.dir/pesectionman.cpp.o -MF CMakeFiles/ceefgen_obj.dir/pesectionman.cpp.o.d -o CMakeFiles/ceefgen_obj.dir/pesectionman.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/ceefilegen/pesectionman.cpp
[ 6%] Building C object libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_normalization.c.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/../Common -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Weverything -Wno-format-nonliteral -Wno-disabled-macro-expansion -Wno-padded -Wno-empty-translation-unit -Wno-cast-align -Wno-typedef-redefinition -Wno-c11-extensions -Wno-thread-safety-analysis -Wno-strict-prototypes -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -MD -MT libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_normalization.c.o -MF CMakeFiles/System.Globalization.Native-Static.dir/pal_normalization.c.o.d -o CMakeFiles/System.Globalization.Native-Static.dir/pal_normalization.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_normalization.c
[ 8%] Building C object libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_bignum.c.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Security.Cryptography.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DOPENSSL_API_COMPAT=0x10100000L -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Security.Cryptography.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Security.Cryptography.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Weverything -Wno-format-nonliteral -Wno-disabled-macro-expansion -Wno-padded -Wno-empty-translation-unit -Wno-cast-align -Wno-typedef-redefinition -Wno-c11-extensions -Wno-thread-safety-analysis -Wno-strict-prototypes -Wno-reserved-id-macro -Wno-documentation -Wno-used-but-marked-unused -MD -MT libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_bignum.c.o -MF CMakeFiles/objlib.dir/pal_bignum.c.o.d -o CMakeFiles/objlib.dir/pal_bignum.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Security.Cryptography.Native/pal_bignum.c
[ 8%] Building C object libs-native/System.IO.Compression.Native/CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/dec/bit_reader.c.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.IO.Compression.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.IO.Compression.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.IO.Compression.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/include -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Wno-strict-prototypes -Wno-implicit-fallthrough -Wno-vla-parameter -MD -MT libs-native/System.IO.Compression.Native/CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/dec/bit_reader.c.o -MF CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/dec/bit_reader.c.o.d -o CMakeFiles/System.IO.Compression.Native-Static.dir/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/dec/bit_reader.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/external/brotli/dec/bit_reader.c
[ 8%] Building CXX object md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/metamodelrw.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/cmake_pch.hxx -MD -MT md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/metamodelrw.cpp.o -MF CMakeFiles/mdruntimerw_wks_obj.dir/metamodelrw.cpp.o.d -o CMakeFiles/mdruntimerw_wks_obj.dir/metamodelrw.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/enc/metamodelrw.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1125:33: error: use of undeclared identifier 'va_end'
1125 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1135:29: error: use of undeclared identifier 'va_end'
1135 | va_end(ap);
| ^
[ 8%] Building C object libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_bio.c.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Security.Cryptography.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DOPENSSL_API_COMPAT=0x10100000L -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Security.Cryptography.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Security.Cryptography.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Weverything -Wno-format-nonliteral -Wno-disabled-macro-expansion -Wno-padded -Wno-empty-translation-unit -Wno-cast-align -Wno-typedef-redefinition -Wno-c11-extensions -Wno-thread-safety-analysis -Wno-strict-prototypes -Wno-reserved-id-macro -Wno-documentation -Wno-used-but-marked-unused -MD -MT libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_bio.c.o -MF CMakeFiles/objlib.dir/pal_bio.c.o.d -o CMakeFiles/objlib.dir/pal_bio.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Security.Cryptography.Native/pal_bio.c
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1155:21: error: use of undeclared identifier 'va_end'
1155 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1173:25: error: use of undeclared identifier 'va_end'
1173 | va_end(ap);
| ^
[ 8%] Building CXX object inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o
3 warnings generated.
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -D_MIDL_USE_GUIDDEF_ -MD -MT inc/CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o -MF CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o.d -o CMakeFiles/corguids_obj.dir/__/pal/prebuilt/idl/sospriv_i.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/idl/sospriv_i.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1199:21: error: use of undeclared identifier 'va_end'
1199 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_networking.c:287:5: warning: 'switch' missing 'default' label [-Wswitch-default]
287 | switch (error)
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_localeNumberData.c:68:9: warning: 'switch' missing 'default' label [-Wswitch-default]
68 | switch (ch)
| ^
:1236:21: error: use of undeclared identifier 'va_end'
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_localeNumberData.c:102:9: warning: 'switch' missing 'default' label [-Wswitch-default]
102 | switch (ch)
| ^
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_networkstatistics.c:6:
In file included from /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Native/pal_errno.h:6:
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common/pal_error_common.h:148:5: warning: 'switch' missing 'default' label [-Wswitch-default]
148 | switch (platformErrno)
| ^
1236 | /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common/pal_error_common.h:340:5: warning: 'switch' missing 'default' label [-Wswitch-default]
340 | switch (error)
| ^
va_end(ap);
| ^
[ 8%] Building CXX object md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1304:29: error: use of undeclared identifier 'va_end'
1304 | va_end(ap);
| ^
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_dac.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_dac.dir/cmake_pch.hxx -MD -MT md/enc/CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -MF CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o.d -o CMakeFiles/mdruntimerw_dac.dir/liteweightstgdbrw.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/enc/liteweightstgdbrw.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1332:29: error: use of undeclared identifier 'va_end'
1332 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1346:21: error: use of undeclared identifier 'va_end'
1346 | va_end(apcopy);
| ^
[ 8%] Building CXX object md/runtime/CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_dac.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_dac.dir/cmake_pch.hxx -MD -MT md/runtime/CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o -MF CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/mdcolumndescriptors.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/runtime/mdcolumndescriptors.cpp
[ 8%] Building CXX object md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/peparse.cpp.o
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1357:29: error: use of undeclared identifier 'va_end'
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/cmake_pch.hxx -MD -MT md/enc/CMakeFiles/mdruntimerw_wks_obj.dir/peparse.cpp.o -MF CMakeFiles/mdruntimerw_wks_obj.dir/peparse.cpp.o.d -o CMakeFiles/mdruntimerw_wks_obj.dir/peparse.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/enc/peparse.cpp
1357 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1364:25: error: use of undeclared identifier 'va_end'
1364 | va_end(apcopy);
| ^
[ 8%] Building CXX object md/runtime/CMakeFiles/mdruntime_wks_obj.dir/liteweightstgdb.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_wks_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_wks_obj.dir/cmake_pch.hxx -MD -MT md/runtime/CMakeFiles/mdruntime_wks_obj.dir/liteweightstgdb.cpp.o -MF CMakeFiles/mdruntime_wks_obj.dir/liteweightstgdb.cpp.o.d -o CMakeFiles/mdruntime_wks_obj.dir/liteweightstgdb.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/runtime/liteweightstgdb.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1382:21: error: use of undeclared identifier 'va_end'
1382 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1397:21: error: use of undeclared identifier 'va_end'
1397 | va_end(ap);
| ^
[ 8%] Building CXX object md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler/CMakeFiles/mdcompiler_dac.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler/CMakeFiles/mdcompiler_dac.dir/cmake_pch.hxx -MD -MT md/compiler/CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -MF CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o.d -o CMakeFiles/mdcompiler_dac.dir/assemblymd.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/compiler/assemblymd.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1422:21: error: use of undeclared identifier 'va_end'
1422 | va_end(ap);
| ^
2 warnings generated.
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1447:17: error: use of undeclared identifier 'va_end'
1447 | va_end(ap);
| ^
[ 8%] Building CXX object md/runtime/CMakeFiles/mdruntime_wks_obj.dir/mdfileformat.cpp.o
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1456:5: error: use of undeclared identifier 'va_end'
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_wks_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_wks_obj.dir/cmake_pch.hxx -MD -MT md/runtime/CMakeFiles/mdruntime_wks_obj.dir/mdfileformat.cpp.o -MF CMakeFiles/mdruntime_wks_obj.dir/mdfileformat.cpp.o.d -o CMakeFiles/mdruntime_wks_obj.dir/mdfileformat.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/runtime/mdfileformat.cpp
1456 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1524:21: error: use of undeclared identifier 'va_end'
1524 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1533:21: error: use of undeclared identifier 'va_end'
1533 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1553:25: error: use of undeclared identifier 'va_end'
1553 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1570:25: error: use of undeclared identifier 'va_end'
1570 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_normalization.c:13:5: warning: 'switch' missing 'default' label [-Wswitch-default]
13 | switch (normalizationForm)
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1585:21: error: use of undeclared identifier 'va_end'
1585 | va_end(ap);
| ^
[ 8%] Building CXX object md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler && /usr/bin/clang++ -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_ALL -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_METADATA_IN_VM -DFEATURE_METADATA_VERIFY_LAYOUTS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_PROFAPI_ATTACH_DETACH -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPROFILING_SUPPORTED -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/cmake_pch.hxx -MD -MT md/compiler/CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -MF CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o.d -o CMakeFiles/mdcompiler_wks_obj.dir/classfactory.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/compiler/classfactory.cpp
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1617:21: error: use of undeclared identifier 'va_end'
[ 8%] Building C object libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_icushim.c.o
1617 | va_end(ap);
| ^
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/../Common -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Weverything -Wno-format-nonliteral -Wno-disabled-macro-expansion -Wno-padded -Wno-empty-translation-unit -Wno-cast-align -Wno-typedef-redefinition -Wno-c11-extensions -Wno-thread-safety-analysis -Wno-strict-prototypes -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -MD -MT libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_icushim.c.o -MF CMakeFiles/System.Globalization.Native-Static.dir/pal_icushim.c.o.d -o CMakeFiles/System.Globalization.Native-Static.dir/pal_icushim.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_icushim.c
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1630:21: error: use of undeclared identifier 'va_end'
1630 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1677:21: error: use of undeclared identifier 'va_end'
1677 | va_end(ap);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1704:21: error: use of undeclared identifier 'va_end'
1704 | va_end(ap);
| ^
1 warning generated.
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1745:21: error: use of undeclared identifier 'va_end'
1745 | va_end(apcopy);
| ^
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1771:17: error: use of undeclared identifier 'va_end'
1771 | va_end(ap);
| ^
[ 8%] Building CXX object md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime && /usr/bin/clang++ -DDACCESS_COMPILE -DDEBUGGING_SUPPORTED -DDISABLE_CONTRACTS -DEnC_SUPPORTED -DFEATURE_ARRAYSTUB_AS_IL -DFEATURE_BASICFREEZE -DFEATURE_CODE_VERSIONING -DFEATURE_COLLECTIBLE_TYPES -DFEATURE_COMWRAPPERS -DFEATURE_CORECLR -DFEATURE_DBGIPC_TRANSPORT_DI -DFEATURE_DBGIPC_TRANSPORT_VM -DFEATURE_DEFAULT_INTERFACES -DFEATURE_EH_FUNCLETS -DFEATURE_EVENTSOURCE_XPLAT -DFEATURE_EVENT_TRACE -DFEATURE_HIJACK -DFEATURE_ICASTABLE -DFEATURE_INSTANTIATINGSTUB_AS_IL -DFEATURE_ISYM_READER -DFEATURE_MANAGED_ETW -DFEATURE_MANAGED_ETW_CHANNELS -DFEATURE_MANUALLY_MANAGED_CARD_BUNDLES -DFEATURE_METADATA_EMIT -DFEATURE_METADATA_EMIT_IN_DEBUGGER -DFEATURE_METADATA_INTERNAL_APIS -DFEATURE_MULTICASTSTUB_AS_IL -DFEATURE_MULTICOREJIT -DFEATURE_MULTIREG_RETURN -DFEATURE_ON_STACK_REPLACEMENT -DFEATURE_PAL_ANSI -DFEATURE_PERFMAP -DFEATURE_PERFTRACING -DFEATURE_PGO -DFEATURE_PORTABLE_SHUFFLE_THUNKS -DFEATURE_READYTORUN -DFEATURE_REJIT -DFEATURE_REMOTE_PROC_MEM -DFEATURE_STANDALONE_GC -DFEATURE_STUBS_AS_IL -DFEATURE_SVR_GC -DFEATURE_SYMDIFF -DFEATURE_TIERED_COMPILATION -DFEATURE_USE_ASM_GC_WRITE_BARRIERS -DFEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DNO_COR -DPROFILING_SUPPORTED_DATA -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DUNICODE -DUNIX_AMD64_ABI -DUNIX_AMD64_ABI_ITF -DURTBLDENV_FRIENDLY=Retail -D_BLD_CLR -D_FILE_OFFSET_BITS=64 -D_SECURE_SCL=0 -D_UNICODE -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/prebuilt/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/safecrt -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/amd64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/debug/inc/dump -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/bcltype -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/cryptography -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/classlibnative/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/hosts/inc -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/minipal -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/inc/rt/cpp -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/nativeresources -O3 -DNDEBUG -std=gnu++11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-invalid-offsetof -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -nostdinc -Winvalid-pch -Xclang -include-pch -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_dac.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/md/runtime/CMakeFiles/mdruntime_dac.dir/cmake_pch.hxx -MD -MT md/runtime/CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -MF CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o.d -o CMakeFiles/mdruntime_dac.dir/liteweightstgdb.cpp.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/md/runtime/liteweightstgdb.cpp
[ 8%] Building C object libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_timeZoneInfo.c.o
cd /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native && /usr/bin/clang -DDISABLE_CONTRACTS -DHOST_64BIT -DHOST_AMD64 -DHOST_UNIX -DNDEBUG -DPALEXPORT=EXTERN_C -DTARGET_64BIT -DTARGET_AMD64 -DTARGET_LINUX -DTARGET_UNIX -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/../Common -std=gnu99 -Wno-declaration-after-statement -D_GNU_SOURCE -O3 -DNDEBUG -std=gnu11 -fPIC -O3 -g -Wall -Wno-null-conversion -fno-omit-frame-pointer -fms-extensions -fwrapv -fstack-protector-strong -Wno-unused-variable -Wno-unused-value -Wno-unused-function -Wno-tautological-compare -Wno-unknown-pragmas -Wimplicit-fallthrough -Wno-unused-but-set-variable -ffp-contract=off -Wno-unknown-warning-option -ferror-limit=4096 -Wno-unused-private-field -Wno-constant-logical-operand -Wno-pragma-pack -Wno-incompatible-ms-struct -Wno-reserved-identifier -Wno-unsafe-buffer-usage -Wno-single-bit-bitfield-constant-conversion -Wno-cast-function-type-strict -Wno-incompatible-function-pointer-types-strict -fsigned-char -fvisibility=hidden -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/Common -I/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release/libs-native/Common -Weverything -Wno-format-nonliteral -Wno-disabled-macro-expansion -Wno-padded -Wno-empty-translation-unit -Wno-cast-align -Wno-typedef-redefinition -Wno-c11-extensions -Wno-thread-safety-analysis -Wno-strict-prototypes -Wno-switch-enum -Wno-covered-switch-default -Wno-reserved-id-macro -Wno-documentation -Wno-documentation-unknown-command -Wno-extra-semi-stmt -MD -MT libs-native/System.Globalization.Native/CMakeFiles/System.Globalization.Native-Static.dir/pal_timeZoneInfo.c.o -MF CMakeFiles/System.Globalization.Native-Static.dir/pal_timeZoneInfo.c.o.d -o CMakeFiles/System.Globalization.Native-Static.dir/pal_timeZoneInfo.c.o -c /build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/native/libs/System.Globalization.Native/pal_timeZoneInfo.c
/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/src/coreclr/pal/src/cruntime/printfcpp.cpp:1778:5: error: use of undeclared identifier 'va_end'
1778 | va_end(ap);
| ^
28 errors generated.
make[2]: *** [pal/src/CMakeFiles/coreclrpal.dir/build.make:160: pal/src/CMakeFiles/coreclrpal.dir/cruntime/printfcpp.cpp.o] Error 1
make[2]: Leaving directory '/build/dotnet-core-7.0/src/sources/src/runtime/artifacts/source-build/self/src/artifacts/obj/coreclr/Linux.x64.Release'
make[1]: *** [CMakeFiles/Makefile2:2152: pal/src/CMakeFiles/coreclrpal.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
....