Implement -fsanitize-recover for ASan and MSan. #4783
Merged
Cirrus CI / Ubuntu rolling x64 shared-libs-only gdmd
completed
Nov 17, 2024 in 17m 12s
Task Summary
Instruction build failed in 01:02
Details
❗ Container main-6420945638785024 terminated with OOMKilled
✅ 00:03 clone
✅ 00:57 install_prerequisites
✅ 00:01 install_lit
✅ 00:01 clone_submodules
❌ 01:02 build
| ^~~~~~
[21/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/ctfloat.cpp.o
[22/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetOCL.cpp.o
[23/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/asmstmt.cpp.o
In file included from /tmp/cirrus-ci-build/gen/asmstmt.cpp:73:
/tmp/cirrus-ci-build/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doInstruction()’:
/tmp/cirrus-ci-build/gen/asm-x86.h:2205:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8632::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2205 | memset(operands, 0, sizeof(operands));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/gen/asm-x86.h:2028:10: note: ‘struct AsmParserx8632::AsmProcessor::Operand’ declared here
2028 | struct Operand {
| ^~~~~~~
In file included from /tmp/cirrus-ci-build/gen/asmstmt.cpp:75:
/tmp/cirrus-ci-build/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doInstruction()’:
/tmp/cirrus-ci-build/gen/asm-x86.h:2205:11: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2205 | memset(operands, 0, sizeof(operands));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/gen/asm-x86.h:2028:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2028 | struct Operand {
| ^~~~~~~
/tmp/cirrus-ci-build/gen/asm-x86.h: In member function ‘bool AsmParserx8664::AsmProcessor::formatInstruction(int, AsmCode*)’:
/tmp/cirrus-ci-build/gen/asm-x86.h:2620:13: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2620 | memset(operands, 0, sizeof(Operand));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cirrus-ci-build/gen/asm-x86.h:2028:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2028 | struct Operand {
| ^~~~~~~
[24/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/coverage.cpp.o
[25/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/complex.cpp.o
[26/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dynamiccompile.cpp.o
[27/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/target.cpp.o
[28/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/druntime.cpp.o
[29/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetCUDA.cpp.o
[30/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/declarations.cpp.o
[31/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o
FAILED: CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o
/usr/bin/c++ -DLDC_ENABLE_PLUGINS -DLDC_LLVM_SUPPORTED_TARGET_AArch64=1 -DLDC_LLVM_SUPPORTED_TARGET_AMDGPU=1 -DLDC_LLVM_SUPPORTED_TARGET_ARM=1 -DLDC_LLVM_SUPPORTED_TARGET_AVR=1 -DLDC_LLVM_SUPPORTED_TARGET_BPF=1 -DLDC_LLVM_SUPPORTED_TARGET_Hexagon=1 -DLDC_LLVM_SUPPORTED_TARGET_Lanai=1 -DLDC_LLVM_SUPPORTED_TARGET_LoongArch=1 -DLDC_LLVM_SUPPORTED_TARGET_M68k=1 -DLDC_LLVM_SUPPORTED_TARGET_MSP430=1 -DLDC_LLVM_SUPPORTED_TARGET_Mips=1 -DLDC_LLVM_SUPPORTED_TARGET_NVPTX=1 -DLDC_LLVM_SUPPORTED_TARGET_PowerPC=1 -DLDC_LLVM_SUPPORTED_TARGET_RISCV=1 -DLDC_LLVM_SUPPORTED_TARGET_Sparc=1 -DLDC_LLVM_SUPPORTED_TARGET_SystemZ=1 -DLDC_LLVM_SUPPORTED_TARGET_VE=1 -DLDC_LLVM_SUPPORTED_TARGET_WebAssembly=1 -DLDC_LLVM_SUPPORTED_TARGET_X86=1 -DLDC_LLVM_SUPPORTED_TARGET_XCore=1 -DLDC_LLVM_SUPPORTED_TARGET_Xtensa=1 -I/tmp/cirrus-ci-build/. -I/tmp/cirrus-ci-build/dmd -DDMDV2 -O3 -DNDEBUG -I/usr/lib/llvm-19/include -std=c++17 -fno-exceptions -funwind-tables -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -Wall -Wextra -Wno-unused-parameter -Wno-comment -Wno-missing-field-initializers -Wno-non-virtual-dtor -Wno-pedantic -DLDC_POSIX -DIN_LLVM -DOPAQUE_VTBLS "-DLDC_INSTALL_PREFIX=R\"(/tmp/install)\"" -DLDC_LLVM_VER=1901 "-DLDC_LIBDIR_SUFFIX=R\"()\"" -DLDC_HOST_GDMD=1 -DLDC_HOST_FE_VER=2108 "-DLDC_LLVM_LIBDIR=R\"(/usr/lib/llvm-19/lib)\"" -DNDEBUG -MD -MT CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o -MF CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o.d -o CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o -c /tmp/cirrus-ci-build/gen/dibuilder.cpp
/tmp/cirrus-ci-build/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::EmitValue(llvm::Value*, VarDeclaration*)’:
/tmp/cirrus-ci-build/gen/dibuilder.cpp:1140:62: error: cannot convert ‘llvm::DbgInstPtr’ {aka ‘llvm::PointerUnion<llvm::Instruction*, llvm::DbgRecord*>’} to ‘llvm::Instruction*’ in initialization
1140 | llvm::Instruction *instr = DBuilder.insertDbgValueIntrinsic(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
| |
| llvm::DbgInstPtr {aka llvm::PointerUnion<llvm::Instruction*, llvm::DbgRecord*>}
1141 | val, debugVariable, DBuilder.createExpression(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1142 | IR->ir->getCurrentDebugLocation(), IR->scopebb());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[32/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/dvalue.cpp.o
[33/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/funcgenstate.cpp.o
[34/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/function-inlining.cpp.o
[35/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/inlineir.cpp.o
[36/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/functions.cpp.o
[37/1117] Building CXX object CMakeFiles/LDCShared.dir/gen/irstate.cpp.o
[38/1117] Generating obj/ldc2.o
ninja: build stopped: subcommand failed.
��������������������������������������������������������������������������������������������
Loading