Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec'], chrootPath='/var/lib/mock/dist-an23-build-207553-61649/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False error: bad date in %changelog: Sun Jul 31 happy_orange - 13.0.1-1 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675209600 Wrote: /builddir/build/SRPMS/compiler-rt-15.0.7-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec'], chrootPath='/var/lib/mock/dist-an23-build-207553-61649/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False error: bad date in %changelog: Sun Jul 31 happy_orange - 13.0.1-1 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1675209600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DVZzPf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compiler-rt-15.0.7.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/compiler-rt-15.0.7.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd compiler-rt-15.0.7.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -f /usr/bin/pathfix3.10.py ']' + pathfix=/usr/bin/pathfix3.10.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.10.py -pni /usr/bin/python3 -kas lib/hwasan/scripts/hwasan_symbolize lib/hwasan/scripts/hwasan_symbolize: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.phlRG5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd compiler-rt-15.0.7.src + export 'ASMFLAGS=-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + ASMFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_MODULE_PATH=/usr/lib64/cmake/llvm -DCMAKE_SKIP_RPATH:BOOL=ON -DLLVM_LIBDIR_SUFFIX=64 -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF -- The C compiler identification is Clang 15.0.7 -- The CXX compiler identification is Clang 15.0.7 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /usr/bin/clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - not found CMake Warning at cmake/Modules/CompilerRTUtils.cmake:288 (message): LLVM source tree not found at "/builddir/build/BUILD/llvm". You are not using the monorepo layout. This configuration is DEPRECATED. Call Stack (most recent call first): CMakeLists.txt:71 (load_llvm_config) CMake Warning at cmake/Modules/CompilerRTUtils.cmake:316 (message): Consulting llvm-config for the LLVM source path as a fallback. This behavior will be removed in the future. Call Stack (most recent call first): CMakeLists.txt:71 (load_llvm_config) -- Using LLVM source path (/builddir/build/BUILD/llvm-15.0.7.src) from llvm-config CMake Warning at cmake/Modules/CompilerRTUtils.cmake:353 (message): llvm-config finding testingsupport failed with status 1 Call Stack (most recent call first): CMakeLists.txt:71 (load_llvm_config) -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- LLVM_MAIN_SRC_DIR: "/builddir/build/BUILD/llvm-15.0.7.src" CMake Warning at cmake/Modules/CompilerRTUtils.cmake:405 (message): LLVM_MAIN_SRC_DIR (/builddir/build/BUILD/llvm-15.0.7.src) does not exist. You can override the inferred path by adding `-DLLVM_MAIN_SRC_DIR=` to your CMake invocation where `` is the path to the `llvm` directory in the `llvm-project` repo. This will be treated as error in the future. Call Stack (most recent call first): CMakeLists.txt:71 (load_llvm_config) -- Found Python3: /usr/bin/python3.10 (found version "3.10.9") found components: Interpreter -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG - Success -- Looking for fopen in c -- Looking for fopen in c - not found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - not found -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Failed -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG -- Performing Test COMPILER_RT_HAS_STD_C11_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FPIC_FLAG -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FPIE_FLAG -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Failed -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_COVERAGE_MAPPING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_COVERAGE_MAPPING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Failed -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MCRC_FLAG -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Failed -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Failed -- Performing Test COMPILER_RT_HAS_WNO_FORMAT -- Performing Test COMPILER_RT_HAS_WNO_FORMAT - Failed -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC - Failed -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG - Failed -- Performing Test COMPILER_RT_HAS_W4_FLAG -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4206_FLAG -- Performing Test COMPILER_RT_HAS_WD4206_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4221_FLAG -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - not found -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG - Failed -- Looking for include file sys/auxv.h -- Looking for include file sys/auxv.h - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - not found -- Looking for shm_open in rt -- Looking for shm_open in rt - not found -- Looking for pow in m -- Looking for pow in m - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- Looking for __cxa_throw in c++ -- Looking for __cxa_throw in c++ - not found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - not found -- Performing Test COMPILER_RT_HAS_Z_TEXT -- Performing Test COMPILER_RT_HAS_Z_TEXT - Failed -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG - Failed -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT - Failed -- Looking for __i386__ -- Looking for __i386__ - not found -- Compiler-RT supported architectures: x86_64 -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG -- Performing Test COMPILER_RT_HAS_XRAY_COMPILER_FLAG - Success -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD -- Performing Test COMPILER_RT_HAS_ATOMIC_KEYWORD - Success -- Performing Test COMPILER_RT_HAS_FLOAT16 -- Performing Test COMPILER_RT_HAS_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_BFLOAT16 -- Performing Test COMPILER_RT_HAS_BFLOAT16 - Success -- Performing Test COMPILER_RT_HAS_ASM_LSE -- Performing Test COMPILER_RT_HAS_ASM_LSE - Success -- Builtin supported architectures: x86_64 -- For x86_64 builtins preferring i386/fp_mode.c to fp_mode.c -- For x86_64 builtins preferring x86_64/floatdidf.c to floatdidf.c -- For x86_64 builtins preferring x86_64/floatdisf.c to floatdisf.c -- For x86_64 builtins preferring x86_64/floatundidf.S to floatundidf.c -- For x86_64 builtins preferring x86_64/floatundisf.S to floatundisf.c -- For x86_64 builtins preferring x86_64/floatdixf.c to floatdixf.c -- For x86_64 builtins preferring x86_64/floatundixf.S to floatundixf.c -- Supported architectures for crt: x86_64 -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS - Failed -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK -- Performing Test COMPILER_RT_TARGET_HAS_FCNTL_LCK - Failed -- Performing Test COMPILER_RT_TARGET_HAS_UNAME -- Performing Test COMPILER_RT_TARGET_HAS_UNAME - Failed -- Performing Test HAS_THREAD_LOCAL -- Performing Test HAS_THREAD_LOCAL - Failed -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build + /usr/bin/cmake --build anolis-linux-build -j80 --verbose [1/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/fuzzer/FuzzedDataProvider.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/fuzzer/FuzzedDataProvider.h [2/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/orc/c_api.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/orc/c_api.h [3/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/profile/InstrProfData.inc /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/profile/InstrProfData.inc [4/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/profile/MemProfData.inc /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/profile/MemProfData.inc [5/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/allocator_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/allocator_interface.h [6/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/asan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/asan_interface.h [7/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/common_interface_defs.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/common_interface_defs.h [8/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/coverage_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/coverage_interface.h [9/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/dfsan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/dfsan_interface.h [10/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/hwasan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/hwasan_interface.h [11/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/linux_syscall_hooks.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/linux_syscall_hooks.h [12/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/lsan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/lsan_interface.h [13/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/memprof_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/memprof_interface.h [14/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/msan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/msan_interface.h [15/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/netbsd_syscall_hooks.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/netbsd_syscall_hooks.h [16/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/scudo_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/scudo_interface.h [17/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/tsan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/tsan_interface.h [18/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/tsan_interface_atomic.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/tsan_interface_atomic.h [19/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/sanitizer/ubsan_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/sanitizer/ubsan_interface.h [20/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/xray/xray_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/xray/xray_interface.h [21/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/xray/xray_log_interface.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/xray/xray_log_interface.h [22/862] cd /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/compiler-rt-15.0.7.src/include/xray/xray_records.h /builddir/build/BUILD/compiler-rt-15.0.7.src/anolis-linux-build/include/xray/xray_records.h [23/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_fuchsia.cpp [24/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux_s390.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux_s390.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux_s390.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_s390.cpp [25/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp [26/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_errno.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_errno.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_errno.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_errno.cpp [27/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mac.cpp [28/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_netbsd.cpp [29/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp [30/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_bsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp [31/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp [32/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_mac.cpp [33/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp [34/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp [35/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp [36/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_win.cpp [37/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_errno.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_errno.cpp [38/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_fuchsia.cpp [39/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_fuchsia.cpp [40/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp [41/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_solaris.cpp [42/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_type_traits.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_type_traits.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_type_traits.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_type_traits.cpp [43/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux_s390.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_s390.cpp [44/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mac.cpp [45/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_netbsd.cpp [46/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp [47/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp [48/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp [49/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_bsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp [50/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_fuchsia.cpp [51/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_mac.cpp [52/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp [53/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_solaris.cpp [54/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp [55/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp [56/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp [57/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_win.cpp [58/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp [59/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp [60/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_type_traits.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_type_traits.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_type_traits.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_type_traits.cpp [61/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_allocator_checks.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_allocator_checks.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_allocator_checks.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator_checks.cpp [62/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_mac_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_mac_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_mac_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mac_libcdep.cpp [63/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_netbsd_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_netbsd_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_netbsd_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_netbsd_libcdep.cpp [64/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_coverage_fuchsia.cpp [65/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_sparc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_sparc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_sparc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_sparc.cpp [66/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_win_sections.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_win_sections.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_win_sections.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_coverage_win_sections.cpp [67/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_mac.cpp [68/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_markup.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp [69/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_win.cpp [70/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_unwind_win.cpp [71/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.x86_64.dir/sanitizer_common_nolibc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.x86_64.dir/sanitizer_common_nolibc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.x86_64.dir/sanitizer_common_nolibc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_nolibc.cpp [72/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_errno.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_errno.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_errno.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_errno.cpp [73/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_fuchsia.cpp [74/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux_s390.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux_s390.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux_s390.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_s390.cpp [75/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mac.cpp [76/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector2.cpp [77/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector2.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector2.cpp [78/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_netbsd.cpp [79/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_freebsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp [80/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_netbsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp [81/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp [82/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_linux.cpp [83/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_bsd.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_bsd.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_bsd.cpp [84/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_fuchsia.cpp [85/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_mac.cpp [86/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp [87/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_fuchsia.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_fuchsia.cpp [88/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_solaris.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_solaris.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_solaris.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_solaris.cpp [89/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_mac.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp [90/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector2.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector2.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector2.cpp [91/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_stoptheworld_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp [92/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_win.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_win.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_win.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_win.cpp [93/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp 1. parser at end of file 2. Optimizer #0 0x00007eff1b6d33c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007eff1b6a281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007eff1b617078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007eff1a75e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007eff1c1090fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007eff1c10c252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007eff1c44a153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007eff1dd4dce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007eff1b83d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007eff1d171a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007eff1b83d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007eff1d1719b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007eff1b83d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007eff232fafe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007eff2244ae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007eff2270f1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007eff2182a228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007eff22d41479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007eff22cee93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007eff22d9bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000557c9f98e7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000557c9f991f43 (/usr/bin/clang+++0x18f43) #22 0x00007eff22a7c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007eff1b60c057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007eff22a818f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007eff22a511b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007eff22a51496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007eff22a68e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000557c9f99450b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007eff1a749510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007eff1a7495c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000557c9f9890c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_termination-8c9dd1.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_termination-8c9dd1.sh clang-15: note: diagnostic msg: ******************** [94/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3ada64b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f3ada61a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3ada58f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f3ad96d69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f3ada67d21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007f3ada67d94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007f3add0469f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007f3ada6e36e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007f3ada6e38e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007f3adb02d04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007f3adb081d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007f3adb084252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007f3adb3c2153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007f3adccc5ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007f3ada7b544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007f3adc0e9a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007f3ada7b5923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007f3adc0e99b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007f3ada7b502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007f3ae2272fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007f3ae13c2e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007f3ae16871a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007f3ae07a2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007f3ae1cb9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007f3ae1c6693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007f3ae1d13f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x000055a1e36367e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x000055a1e3639f43 (/usr/bin/clang+++0x18f43) #28 0x00007f3ae19f4739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007f3ada584057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007f3ae19f98f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007f3ae19c91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007f3ae19c9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007f3ae19e0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x000055a1e363c50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007f3ad96c1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007f3ad96c15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x000055a1e36310c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-82e63b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-82e63b.sh clang-15: note: diagnostic msg: ******************** [95/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7864f7b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7864f4a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7864ebf078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f78640069d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7864fad21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007f7864fad94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007f78679769f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007f78650136e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007f78650138e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007f786595d04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007f78659b1d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007f78659b4252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007f7865cf2153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007f78675f5ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007f78650e544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007f7866a19a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007f78650e5923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007f7866a199b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007f78650e502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007f786cba2fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007f786bcf2e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007f786bfb71a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007f786b0d2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007f786c5e9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007f786c59693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007f786c643f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x000055e3cd4b47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x000055e3cd4b7f43 (/usr/bin/clang+++0x18f43) #28 0x00007f786c324739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007f7864eb4057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007f786c3298f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007f786c2f91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007f786c2f9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007f786c310e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x000055e3cd4ba50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007f7863ff1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007f7863ff15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x000055e3cd4af0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-13cc57.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-13cc57.sh clang-15: note: diagnostic msg: ******************** [96/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_type_traits.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_type_traits.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_type_traits.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_type_traits.cpp [97/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f46237843c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f462375381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f46236c8078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f462280f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f462285fd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f462280f926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f46227f97fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f4622853f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f4622869adc (/lib64/libc.so.6+0x92adc) #9 0x00007f462286b92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f462286e263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f4623896155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f462a61a90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f462a640178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f462a60776b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f462a667666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f462a67b12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f462a67bce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f462a67be9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f462a68d699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f462a6c1a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f462a64e717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f462a64ec21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f462a77de5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f462a77ed49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f462a77f037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f462a782b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f462a77dd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f462a5f2bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f462a7e8fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f462a5d25fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f462a8516c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f462a7f68c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f462a7f87bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f462a7f87d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f462a7fcb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f462a86630a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f462a7bf9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f46298db228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f462adf2479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f462ad9f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f462ae4cf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x0000563f236127e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000563f23615f43 (/usr/bin/clang+++0x18f43) #44 0x00007f462ab2d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f46236bd057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f462ab328f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f462ab021b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f462ab02496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f462ab19e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x0000563f2361850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f46227fa510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f46227fa5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x0000563f2360d0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_file-4e66c6.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_file-4e66c6.sh clang-15: note: diagnostic msg: ******************** [98/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_allocator_checks.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_allocator_checks.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_allocator_checks.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator_checks.cpp [99/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:21:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:22: Generating code for declaration '__sanitizer::MemoryMappingLayout::~MemoryMappingLayout' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:45: LLVM IR generation of compound statement ('{}') #0 0x00007f5da40623c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f5da403181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5da3fa6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f5da30ed9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f5da313dd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f5da30ed926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f5da30d77fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f5da3131f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f5da3147adc (/lib64/libc.so.6+0x92adc) #9 0x00007f5da314992c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f5da314c263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f5da4174155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f5daaef890d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f5daaf1e178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f5daaee576b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f5daaf4254e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f5daaf5a042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f5daaf6b699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f5daaf9fa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f5daaf2c717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f5daaf2cc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f5dab05be5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f5dab05d743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f5dab05cd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f5dab05d037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f5dab060b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f5dab05bd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f5daaed0bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #28 0x00007f5dab0c6fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #29 0x00007f5daaeb05fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #30 0x00007f5dab12f6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #31 0x00007f5dab0d48c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #32 0x00007f5dab1242f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #33 0x00007f5dab0c1553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #34 0x00007f5dab143ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #35 0x00007f5dab06bc97 (/lib64/libclang-cpp.so.15+0x16fdc97) #36 0x00007f5daa1b91ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #37 0x00007f5dab6d0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #38 0x00007f5dab67d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #39 0x00007f5dab72af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #40 0x000055a1435507e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #41 0x000055a143553f43 (/usr/bin/clang+++0x18f43) #42 0x00007f5dab40b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #43 0x00007f5da3f9b057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #44 0x00007f5dab4108f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #45 0x00007f5dab3e01b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #46 0x00007f5dab3e0496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #47 0x00007f5dab3f7e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #48 0x000055a14355650b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #49 0x00007f5da30d8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #50 0x00007f5da30d85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #51 0x000055a14354b0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-59c8d1.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-59c8d1.sh clang-15: note: diagnostic msg: ******************** [100/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp 1. parser at end of file 2. Optimizer #0 0x00007f0f6e6da3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0f6e6a981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0f6e61e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0f6d7659d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0f6f1100fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f0f6f113252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0f6f451153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f0f70d54ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0f6e84444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f0f70178a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0f6e844923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f0f701789b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0f6e84402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f0f76301fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f0f75451e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f0f757161a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f0f74831228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f0f75d48479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f0f75cf593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f0f75da2f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005569cf8747e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x00005569cf877f43 (/usr/bin/clang+++0x18f43) #22 0x00007f0f75a83739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0f6e613057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f0f75a888f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f0f75a581b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f0f75a58496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f0f75a6fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005569cf87a50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f0f6d750510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0f6d7505c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005569cf86f0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-792385.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-792385.sh clang-15: note: diagnostic msg: ******************** [101/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:3: Generating code for declaration '__sanitizer::ListOfModules::~ListOfModules' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:20: LLVM IR generation of compound statement ('{}') #0 0x00007f99c31cd3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f99c319c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f99c3111078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f99c22589d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f99c22a8d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f99c2258926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f99c22427fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f99c229cf1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f99c22b2adc (/lib64/libc.so.6+0x92adc) #9 0x00007f99c22b492c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f99c22b7263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f99c32df155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f99ca06390d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f99ca089178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f99ca05076b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f99ca0b0666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f99ca0c412d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f99ca0c4ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f99ca0c4e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f99ca0d6699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f99ca10aa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f99ca097717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f99ca097c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f99ca1c6e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f99ca1c7d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f99ca1c8037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f99ca1cbb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f99ca1c6d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f99ca03bbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f99ca231fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f99ca01b5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f99ca29a6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f99ca23f8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f99ca2417bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f99ca2417d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f99ca245b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f99ca2af30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f99ca2089e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f99c9324228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f99ca83b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f99ca7e893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f99ca895f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x00005630c9b397e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x00005630c9b3cf43 (/usr/bin/clang+++0x18f43) #44 0x00007f99ca576739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f99c3106057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f99ca57b8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f99ca54b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f99ca54b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f99ca562e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x00005630c9b3f50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f99c2243510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f99c22435c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005630c9b340c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-09674c.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-09674c.sh clang-15: note: diagnostic msg: ******************** [102/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:21:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:22: Generating code for declaration '__sanitizer::MemoryMappingLayout::~MemoryMappingLayout' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:45: LLVM IR generation of compound statement ('{}') #0 0x00007f2b959623c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2b9593181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2b958a6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2b949ed9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2b94a3dd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f2b949ed926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f2b949d77fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f2b94a31f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f2b94a47adc (/lib64/libc.so.6+0x92adc) #9 0x00007f2b94a4992c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f2b94a4c263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f2b95a74155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f2b9c7f890d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f2b9c81e178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f2b9c7e576b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f2b9c84254e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f2b9c85a042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f2b9c86b699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f2b9c89fa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f2b9c82c717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f2b9c82cc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f2b9c95be5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f2b9c95d743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f2b9c95cd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f2b9c95d037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f2b9c960b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f2b9c95bd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f2b9c7d0bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #28 0x00007f2b9c9c6fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #29 0x00007f2b9c7b05fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #30 0x00007f2b9ca2f6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #31 0x00007f2b9c9d48c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #32 0x00007f2b9ca242f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #33 0x00007f2b9c9c1553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #34 0x00007f2b9ca43ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #35 0x00007f2b9c96bc97 (/lib64/libclang-cpp.so.15+0x16fdc97) #36 0x00007f2b9bab91ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #37 0x00007f2b9cfd0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #38 0x00007f2b9cf7d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #39 0x00007f2b9d02af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #40 0x000055f9bb49c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #41 0x000055f9bb49ff43 (/usr/bin/clang+++0x18f43) #42 0x00007f2b9cd0b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #43 0x00007f2b9589b057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #44 0x00007f2b9cd108f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #45 0x00007f2b9cce01b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #46 0x00007f2b9cce0496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #47 0x00007f2b9ccf7e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #48 0x000055f9bb4a250b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #49 0x00007f2b949d8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #50 0x00007f2b949d85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #51 0x000055f9bb4970c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-46f23f.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-46f23f.sh clang-15: note: diagnostic msg: ******************** [103/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc3c0f3a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc3c0f0981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc3c0e7e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc3bffc59d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc3c0f6c21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007fc3c0f6c94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007fc3c39359f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007fc3c0fd26e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007fc3c0fd28e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007fc3c191c04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007fc3c1970d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007fc3c1973252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007fc3c1cb1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007fc3c35b4ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007fc3c10a444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007fc3c29d8a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007fc3c10a4923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007fc3c29d89b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007fc3c10a402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007fc3c8b61fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007fc3c7cb1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007fc3c7f761a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007fc3c7091228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007fc3c85a8479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007fc3c855593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007fc3c8602f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x0000557aac3dd7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x0000557aac3e0f43 (/usr/bin/clang+++0x18f43) #28 0x00007fc3c82e3739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007fc3c0e73057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007fc3c82e88f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007fc3c82b81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007fc3c82b8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007fc3c82cfe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x0000557aac3e350b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007fc3bffb0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007fc3bffb05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x0000557aac3d80c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-c323bc.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-c323bc.sh clang-15: note: diagnostic msg: ******************** [104/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fe4952403c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe49520f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe495184078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe4942cb9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe49431bd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fe4942cb926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fe4942b57fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fe49430ff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fe494325adc (/lib64/libc.so.6+0x92adc) #9 0x00007fe49432792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fe49432a263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fe495352155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fe49c0d690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fe49c0fc178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fe49c0c376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fe49c123666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fe49c13712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fe49c137ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fe49c137e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fe49c149699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fe49c17da56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fe49c10a717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fe49c10ac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fe49c239e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fe49c23ad49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fe49c23b037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fe49c23eb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fe49c239d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fe49c0aebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fe49c2a4fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fe49c08e5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fe49c30d6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fe49c2b28c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fe49c2b47bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fe49c2b47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fe49c2b8b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fe49c32230a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fe49c27b9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fe49b397228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fe49c8ae479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fe49c85b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fe49c908f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000056434096a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000056434096df43 (/usr/bin/clang+++0x18f43) #44 0x00007fe49c5e9739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fe495179057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fe49c5ee8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fe49c5be1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fe49c5be496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fe49c5d5e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000056434097050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fe4942b6510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fe4942b65c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005643409650c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_file-4e5239.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_file-4e5239.sh clang-15: note: diagnostic msg: ******************** [105/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:18:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:20: Generating code for declaration '__sanitizer::ThreadContextBase::~ThreadContextBase' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:41: LLVM IR generation of compound statement ('{}') 5. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:30:3 : LLVM IR generation of compound statement ('{}') #0 0x00007f03cb3c93c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f03cb39881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f03cb30d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f03ca4549d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f03ca4a4d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f03ca454926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f03ca43e7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f03ca498f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f03ca4aeadc (/lib64/libc.so.6+0x92adc) #9 0x00007f03ca4b092c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f03ca4b3263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f03cb4db155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f03d225f90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f03d2285178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f03d224c76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f03d22a954e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f03d22c1042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f03d22d2699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f03d2306a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f03d2293717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f03d2293c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f03d23c2e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f03d23c4743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f03d23c3d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f03d23c4037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f03d23c7b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f03d23c2d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f03d23c54d7 clang::CodeGen::CodeGenFunction::EmitDoStmt(clang::DoStmt const&, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f04d7) #28 0x00007f03d23c3d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #29 0x00007f03d23c4037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #30 0x00007f03d23c7b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #31 0x00007f03d23c2d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #32 0x00007f03d2237bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #33 0x00007f03d242dfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #34 0x00007f03d22175fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #35 0x00007f03d24966c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #36 0x00007f03d243b8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #37 0x00007f03d248b2f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #38 0x00007f03d2428553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #39 0x00007f03d24aaee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #40 0x00007f03d23d2c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #41 0x00007f03d15201ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #42 0x00007f03d2a37479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #43 0x00007f03d29e493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #44 0x00007f03d2a91f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #45 0x00005634096137e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #46 0x0000563409616f43 (/usr/bin/clang+++0x18f43) #47 0x00007f03d2772739 (/lib64/libclang-cpp.so.15+0x1a9d739) #48 0x00007f03cb302057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #49 0x00007f03d27778f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #50 0x00007f03d27471b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #51 0x00007f03d2747496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #52 0x00007f03d275ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #53 0x000056340961950b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #54 0x00007f03ca43f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #55 0x00007f03ca43f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #56 0x000056340960e0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-caab70.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-caab70.sh clang-15: note: diagnostic msg: ******************** [106/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp 1. parser at end of file 2. Optimizer #0 0x00007f0367e8f3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0367e5e81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0367dd3078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0366f1a9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f03688c50fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f03688c8252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f0368c06153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f036a509ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f0367ff944f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f036992da15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f0367ff9923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f036992d9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f0367ff902f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f036fab6fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f036ec06e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f036eecb1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f036dfe6228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f036f4fd479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f036f4aa93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f036f557f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000555d5d8637e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000555d5d866f43 (/usr/bin/clang+++0x18f43) #22 0x00007f036f238739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f0367dc8057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f036f23d8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f036f20d1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f036f20d496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f036f224e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000555d5d86950b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f0366f05510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f0366f055c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000555d5d85e0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-d146b7.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-d146b7.sh clang-15: note: diagnostic msg: ******************** [107/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp 1. parser at end of file 2. Optimizer #0 0x00007f1529c0b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1529bda81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1529b4f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1528c969d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f152a6410fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f152a644252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f152a982153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f152c285ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f1529d7544f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f152b6a9a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1529d75923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f152b6a99b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f1529d7502f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f1531832fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f1530982e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f1530c471a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f152fd62228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f1531279479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f153122693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f15312d3f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000562742dc37e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000562742dc6f43 (/usr/bin/clang+++0x18f43) #22 0x00007f1530fb4739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f1529b44057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f1530fb98f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f1530f891b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f1530f89496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f1530fa0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000562742dc950b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f1528c81510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f1528c815c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000562742dbe0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flags-ea196d.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flags-ea196d.sh clang-15: note: diagnostic msg: ******************** [108/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp 1. parser at end of file 2. Optimizer #0 0x00007f00e4e263c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f00e4df581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f00e4d6a078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f00e3eb19d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f00e585c0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f00e585f252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f00e5b9d153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f00e74a0ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f00e4f9044f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f00e68c4a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f00e4f90923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f00e68c49b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f00e4f9002f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f00eca4dfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f00ebb9de08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f00ebe621a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f00eaf7d228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f00ec494479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f00ec44193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f00ec4eef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005567b80047e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x00005567b8007f43 (/usr/bin/clang+++0x18f43) #22 0x00007f00ec1cf739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f00e4d5f057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f00ec1d48f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f00ec1a41b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f00ec1a4496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f00ec1bbe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005567b800a50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f00e3e9c510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f00e3e9c5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005567b7fff0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-c9eac1.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-c9eac1.sh clang-15: note: diagnostic msg: ******************** [109/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp 1. parser at end of file 2. Optimizer #0 0x00007f3bb54883c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f3bb545781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3bb53cc078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f3bb45139d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f3bb5ebe0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f3bb5ec1252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f3bb61ff153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f3bb7b02ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f3bb55f244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f3bb6f26a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f3bb55f2923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f3bb6f269b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f3bb55f202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f3bbd0affe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f3bbc1ffe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f3bbc4c41a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f3bbb5df228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f3bbcaf6479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f3bbcaa393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f3bbcb50f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005555ff1ba7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x00005555ff1bdf43 (/usr/bin/clang+++0x18f43) #22 0x00007f3bbc831739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f3bb53c1057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f3bbc8368f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f3bbc8061b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f3bbc806496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f3bbc81de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005555ff1c050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f3bb44fe510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f3bb44fe5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005555ff1b50c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-746f9a.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-746f9a.sh clang-15: note: diagnostic msg: ******************** [110/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc3fb0853c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc3fb05481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc3fafc9078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc3fa1109d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc3fb0b721c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007fc3fb0b794f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007fc3fda809f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007fc3fb11d6e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007fc3fb11d8e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007fc3fba6704c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007fc3fbabbd12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007fc3fbabe252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007fc3fbdfc153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007fc3fd6ffce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007fc3fb1ef44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007fc3fcb23a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007fc3fb1ef923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007fc3fcb239b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007fc3fb1ef02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007fc402cacfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007fc401dfce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007fc4020c11a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007fc4011dc228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007fc4026f3479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007fc4026a093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007fc40274df58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x0000561238b1a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x0000561238b1df43 (/usr/bin/clang+++0x18f43) #28 0x00007fc40242e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007fc3fafbe057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007fc4024338f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007fc4024031b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007fc402403496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007fc40241ae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x0000561238b2050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007fc3fa0fb510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007fc3fa0fb5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x0000561238b150c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-2cf35d.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-2cf35d.sh clang-15: note: diagnostic msg: ******************** [111/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_mac_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_mac_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_mac_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mac_libcdep.cpp [112/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:3: Generating code for declaration '__sanitizer::ListOfModules::~ListOfModules' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:20: LLVM IR generation of compound statement ('{}') #0 0x00007f11662bd3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f116628c81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1166201078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f11653489d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1165398d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f1165348926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f11653327fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f116538cf1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f11653a2adc (/lib64/libc.so.6+0x92adc) #9 0x00007f11653a492c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f11653a7263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f11663cf155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f116d15390d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f116d179178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f116d14076b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f116d1a0666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f116d1b412d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f116d1b4ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f116d1b4e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f116d1c6699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f116d1faa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f116d187717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f116d187c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f116d2b6e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f116d2b7d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f116d2b8037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f116d2bbb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f116d2b6d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f116d12bbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f116d321fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f116d10b5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f116d38a6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f116d32f8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f116d3317bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f116d3317d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f116d335b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f116d39f30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f116d2f89e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f116c414228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f116d92b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f116d8d893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f116d985f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x0000563d953b67e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000563d953b9f43 (/usr/bin/clang+++0x18f43) #44 0x00007f116d666739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f11661f6057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f116d66b8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f116d63b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f116d63b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f116d652e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x0000563d953bc50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f1165333510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f11653335c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x0000563d953b10c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-3bb381.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-3bb381.sh clang-15: note: diagnostic msg: ******************** [113/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sancov_flags.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sancov_flags.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sancov_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sancov_flags.cpp 1. parser at end of file 2. Optimizer #0 0x00007f258a0783c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f258a04781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2589fbc078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f25891039d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f258aaae0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f258aab1252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f258adef153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f258c6f2ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f258a1e244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f258bb16a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f258a1e2923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f258bb169b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f258a1e202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f2591c9ffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f2590defe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f25910b41a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f25901cf228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f25916e6479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f259169393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f2591740f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000555e85d377e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000555e85d3af43 (/usr/bin/clang+++0x18f43) #22 0x00007f2591421739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f2589fb1057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f25914268f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f25913f61b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f25913f6496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f259140de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000555e85d3d50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f25890ee510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f25890ee5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000555e85d320c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sancov_flags-bea394.cpp clang-15: note: diagnostic msg: /tmp/sancov_flags-bea394.sh clang-15: note: diagnostic msg: ******************** [114/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fcb1f4f43c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fcb1f4c381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fcb1f438078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fcb1e57f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fcb1e5cfd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fcb1e57f926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fcb1e5697fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fcb1e5c3f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fcb1e5d9adc (/lib64/libc.so.6+0x92adc) #9 0x00007fcb1e5db92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fcb1e5de263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fcb1f606155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fcb2638a90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fcb263b0178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fcb2637776b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fcb263d7666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fcb263eb12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fcb263ebce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fcb263ebe9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fcb263fd699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fcb26431a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fcb263be717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fcb263bec21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fcb264ede5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fcb264eed49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fcb264ef037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fcb264f2b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fcb264edd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fcb26362bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fcb26558fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fcb263425fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fcb265c16c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fcb265668c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fcb265687bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fcb265687d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fcb265687d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fcb265687d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007fcb2656cb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007fcb265d630a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007fcb2652f9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007fcb2564b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007fcb26b62479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007fcb26b0f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007fcb26bbcf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x0000557bff68f7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x0000557bff692f43 (/usr/bin/clang+++0x18f43) #46 0x00007fcb2689d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007fcb1f42d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007fcb268a28f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007fcb268721b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007fcb26872496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007fcb26889e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x0000557bff69550b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007fcb1e56a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007fcb1e56a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x0000557bff68a0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_printf-0aaa4e.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_printf-0aaa4e.sh clang-15: note: diagnostic msg: ******************** [115/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp 1. parser at end of file 2. Optimizer #0 0x00007fa2edffa3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa2edfc981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa2edf3e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa2ed0859d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa2eea300fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fa2eea33252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fa2eed71153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fa2f0674ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fa2ee16444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fa2efa98a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fa2ee164923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fa2efa989b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fa2ee16402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fa2f5c21fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fa2f4d71e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fa2f50361a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fa2f4151228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fa2f5668479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fa2f561593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fa2f56c2f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a431bc47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055a431bc7f43 (/usr/bin/clang+++0x18f43) #22 0x00007fa2f53a3739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fa2edf33057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fa2f53a88f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fa2f53781b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fa2f5378496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fa2f538fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a431bca50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007fa2ed070510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fa2ed0705c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a431bbf0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flags-2f0bc9.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flags-2f0bc9.sh clang-15: note: diagnostic msg: ******************** [116/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:18:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:20: Generating code for declaration '__sanitizer::ThreadContextBase::~ThreadContextBase' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:41: LLVM IR generation of compound statement ('{}') 5. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:30:3 : LLVM IR generation of compound statement ('{}') #0 0x00007f4efb4af3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f4efb47e81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f4efb3f3078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f4efa53a9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f4efa58ad9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f4efa53a926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f4efa5247fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f4efa57ef1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f4efa594adc (/lib64/libc.so.6+0x92adc) #9 0x00007f4efa59692c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f4efa599263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f4efb5c1155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f4f0234590d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f4f0236b178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f4f0233276b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f4f0238f54e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f4f023a7042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f4f023b8699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f4f023eca56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f4f02379717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f4f02379c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f4f024a8e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f4f024aa743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f4f024a9d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f4f024aa037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f4f024adb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f4f024a8d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f4f024ab4d7 clang::CodeGen::CodeGenFunction::EmitDoStmt(clang::DoStmt const&, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f04d7) #28 0x00007f4f024a9d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #29 0x00007f4f024aa037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #30 0x00007f4f024adb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #31 0x00007f4f024a8d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #32 0x00007f4f0231dbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #33 0x00007f4f02513fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #34 0x00007f4f022fd5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #35 0x00007f4f0257c6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #36 0x00007f4f025218c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #37 0x00007f4f025712f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #38 0x00007f4f0250e553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #39 0x00007f4f02590ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #40 0x00007f4f024b8c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #41 0x00007f4f016061ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #42 0x00007f4f02b1d479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #43 0x00007f4f02aca93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #44 0x00007f4f02b77f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #45 0x0000557c4fae07e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #46 0x0000557c4fae3f43 (/usr/bin/clang+++0x18f43) #47 0x00007f4f02858739 (/lib64/libclang-cpp.so.15+0x1a9d739) #48 0x00007f4efb3e8057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #49 0x00007f4f0285d8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #50 0x00007f4f0282d1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #51 0x00007f4f0282d496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #52 0x00007f4f02844e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #53 0x0000557c4fae650b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #54 0x00007f4efa525510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #55 0x00007f4efa5255c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #56 0x0000557c4fadb0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-0fd547.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-0fd547.sh clang-15: note: diagnostic msg: ******************** [117/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff3a69cc3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007ff3a699b81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007ff3a6910078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007ff3a5a579d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007ff3a69fe21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007ff3a69fe94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007ff3a93c79f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007ff3a6a646e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007ff3a6a648e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007ff3a73ae04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007ff3a7402d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007ff3a7405252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007ff3a7743153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007ff3a9046ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007ff3a6b3644f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007ff3a846aa15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007ff3a6b36923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007ff3a846a9b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007ff3a6b3602f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007ff3ae5f3fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007ff3ad743e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007ff3ada081a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007ff3acb23228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007ff3ae03a479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007ff3adfe793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007ff3ae094f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x0000562818f7a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x0000562818f7df43 (/usr/bin/clang+++0x18f43) #28 0x00007ff3add75739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007ff3a6905057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007ff3add7a8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007ff3add4a1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007ff3add4a496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007ff3add61e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x0000562818f8050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007ff3a5a42510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007ff3a5a425c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x0000562818f750c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace-a4f290.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace-a4f290.sh clang-15: note: diagnostic msg: ******************** [118/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fd104aa13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd104a7081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd1049e5078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd103b2c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd103b7cd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fd103b2c926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fd103b167fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fd103b70f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fd103b86adc (/lib64/libc.so.6+0x92adc) #9 0x00007fd103b8892c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fd103b8b263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fd104bb3155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fd10b93790d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fd10b95d178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fd10b92476b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fd10b984666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fd10b99812d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fd10b998ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fd10b998e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fd10b9aa699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fd10b9dea56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fd10b96b717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fd10b96bc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fd10ba9ae5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fd10ba9bd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fd10ba9c037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fd10ba9fb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fd10ba9ad07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fd10b90fbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fd10bb05fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fd10b8ef5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fd10bb6e6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fd10bb138c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fd10bb157bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fd10bb157d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fd10bb19b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fd10bb8330a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fd10badc9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fd10abf8228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fd10c10f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fd10c0bc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fd10c169f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055f7cb1617e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055f7cb164f43 (/usr/bin/clang+++0x18f43) #44 0x00007fd10be4a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fd1049da057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fd10be4f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fd10be1f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fd10be1f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fd10be36e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055f7cb16750b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fd103b17510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fd103b175c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055f7cb15c0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_posix-8b688f.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_posix-8b688f.sh clang-15: note: diagnostic msg: ******************** [119/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007ff87e0523c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007ff87e02181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007ff87df96078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007ff87d0dd9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007ff87d12dd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007ff87d0dd926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007ff87d0c77fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007ff87d121f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007ff87d137adc (/lib64/libc.so.6+0x92adc) #9 0x00007ff87d13992c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007ff87d13c263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007ff87e164155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007ff884ee890d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007ff884f0e178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007ff884ed576b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007ff884f35666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007ff884f4912d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007ff884f49ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007ff884f49e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007ff884f5b699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007ff884f8fa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007ff884f1c717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007ff884f1cc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007ff88504be5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007ff88504cd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007ff88504d037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007ff885050b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007ff88504bd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007ff884ec0bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007ff8850b6fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007ff884ea05fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007ff88511f6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007ff8850c48c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007ff8850c67bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007ff8850c67d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007ff8850c67d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007ff8850c67d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007ff8850cab2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007ff88513430a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007ff88508d9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007ff8841a9228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007ff8856c0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007ff88566d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007ff88571af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000055d9f044e7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000055d9f0451f43 (/usr/bin/clang+++0x18f43) #46 0x00007ff8853fb739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007ff87df8b057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007ff8854008f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007ff8853d01b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007ff8853d0496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007ff8853e7e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000055d9f045450b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007ff87d0c8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007ff87d0c85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000055d9f04490c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_printf-12dda4.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_printf-12dda4.sh clang-15: note: diagnostic msg: ******************** [120/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_chained_origin_depot.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_chained_origin_depot.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_chained_origin_depot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_chained_origin_depot.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f08a90703c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f08a903f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f08a8fb4078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f08a80fb9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f08a814bd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f08a80fb926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f08a80e57fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f08a813ff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f08a8155adc (/lib64/libc.so.6+0x92adc) #9 0x00007f08a815792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f08a815a263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f08a9182155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f08aff0690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f08aff2c178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f08afef376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f08aff53666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f08aff6712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f08aff67ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f08aff67e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f08aff79699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f08affada56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f08aff3a717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f08aff3ac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f08b0069e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f08b006ad49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f08b006b037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f08b006eb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f08b0069d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f08afedebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f08b00d4fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f08afebe5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f08b013d6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f08b00e28c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f08b00e47bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #38 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #39 0x00007f08b00e47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #40 0x00007f08b00e8b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #41 0x00007f08b015230a (/lib64/libclang-cpp.so.15+0x17d630a) #42 0x00007f08b00ab9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #43 0x00007f08af1c7228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #44 0x00007f08b06de479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #45 0x00007f08b068b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #46 0x00007f08b0738f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #47 0x000055b06e4697e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #48 0x000055b06e46cf43 (/usr/bin/clang+++0x18f43) #49 0x00007f08b0419739 (/lib64/libclang-cpp.so.15+0x1a9d739) #50 0x00007f08a8fa9057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #51 0x00007f08b041e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #52 0x00007f08b03ee1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #53 0x00007f08b03ee496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #54 0x00007f08b0405e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #55 0x000055b06e46f50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #56 0x00007f08a80e6510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #57 0x00007f08a80e65c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #58 0x000055b06e4640c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_chained_origin_depot-6f4465.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_chained_origin_depot-6f4465.sh clang-15: note: diagnostic msg: ******************** [121/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_unwind_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector<__sanitizer::(anonymous namespace)::backtrace_frame_t>::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f6c5bc9a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f6c5bc6981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f6c5bbde078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f6c5ad259d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f6c5ad75d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f6c5ad25926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f6c5ad0f7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f6c5ad69f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f6c5ad7fadc (/lib64/libc.so.6+0x92adc) #9 0x00007f6c5ad8192c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f6c5ad84263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f6c5bdac155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f6c62b3090d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f6c62b56178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f6c62b1d76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f6c62b7d666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f6c62b9112d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f6c62b91ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f6c62b91e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f6c62ba3699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f6c62bd7a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f6c62b64717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f6c62b64c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f6c62c93e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f6c62c94d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f6c62c95037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f6c62c98b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f6c62c93d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f6c62b08bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f6c62cfefcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f6c62ae85fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f6c62d676c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f6c62d0c8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f6c62d0e7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f6c62d0e7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f6c62d12b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f6c62d7c30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f6c62cd59e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f6c61df1228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f6c63308479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f6c632b593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f6c63362f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x00005633f37f77e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x00005633f37faf43 (/usr/bin/clang+++0x18f43) #44 0x00007f6c63043739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f6c5bbd3057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f6c630488f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f6c630181b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f6c63018496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f6c6302fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x00005633f37fd50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f6c5ad10510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f6c5ad105c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005633f37f20c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_unwind_linux_libcdep-1479c8.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_unwind_linux_libcdep-1479c8.sh clang-15: note: diagnostic msg: ******************** [122/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc9f9fda3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc9f9fa981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc9f9f1e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc9f90659d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc9f90c420e cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x9720e) #5 0x00007fc9fa1356ad llvm::User::operator delete(void*) (/lib64/libLLVM-15.so+0xcfc6ad) #6 0x00007fc9fa01e430 llvm::BasicBlock::~BasicBlock() (/lib64/libLLVM-15.so+0xbe5430) #7 0x00007fc9fa01e624 llvm::BasicBlock::eraseFromParent() (/lib64/libLLVM-15.so+0xbe5624) #8 0x00007fc9fa94b075 llvm::DeleteDeadBlocks(llvm::ArrayRef, llvm::DomTreeUpdater*, bool) (/lib64/libLLVM-15.so+0x1512075) #9 0x00007fc9fa95a4db llvm::MergeBlockIntoPredecessor(llvm::BasicBlock*, llvm::DomTreeUpdater*, llvm::LoopInfo*, llvm::MemorySSAUpdater*, llvm::MemoryDependenceResults*, bool) (/lib64/libLLVM-15.so+0x15214db) #10 0x00007fc9faa5e99b (/lib64/libLLVM-15.so+0x162599b) #11 0x00007fc9fad7296b (/lib64/libLLVM-15.so+0x193996b) #12 0x00007fc9fad73cf1 (/lib64/libLLVM-15.so+0x193acf1) #13 0x00007fc9fad742b6 llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0x193b2b6) #14 0x00007fc9fb017415 (/lib64/libLLVM-15.so+0x1bde415) #15 0x00007fc9fa14444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #16 0x00007fc9fba78a15 (/lib64/libLLVM-15.so+0x263fa15) #17 0x00007fc9fa144923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #18 0x00007fc9fba789b5 (/lib64/libLLVM-15.so+0x263f9b5) #19 0x00007fc9fa14402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #20 0x00007fca01c01fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #21 0x00007fca00d51e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #22 0x00007fca010161a7 (/lib64/libclang-cpp.so.15+0x17301a7) #23 0x00007fca00131228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #24 0x00007fca01648479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #25 0x00007fca015f593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #26 0x00007fca016a2f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #27 0x00005559bc6ba7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #28 0x00005559bc6bdf43 (/usr/bin/clang+++0x18f43) #29 0x00007fca01383739 (/lib64/libclang-cpp.so.15+0x1a9d739) #30 0x00007fc9f9f13057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #31 0x00007fca013888f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #32 0x00007fca013581b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #33 0x00007fca01358496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #34 0x00007fca0136fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #35 0x00005559bc6c050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #36 0x00007fc9f9050510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #37 0x00007fc9f90505c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #38 0x00005559bc6b50c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libc-5680fa.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libc-5680fa.sh clang-15: note: diagnostic msg: ******************** [123/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fa9875763c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa98754581f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa9874ba078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa9866019d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa986651d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fa986601926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fa9865eb7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fa986645f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fa98665badc (/lib64/libc.so.6+0x92adc) #9 0x00007fa98665d92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fa986660263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fa987688155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fa98e40c90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fa98e432178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fa98e3f976b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fa98e459666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fa98e46d12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fa98e46dce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fa98e46de9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fa98e47f699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fa98e4b3a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fa98e440717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fa98e440c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fa98e56fe5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fa98e570d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fa98e571037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fa98e574b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fa98e56fd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fa98e3e4bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fa98e5dafcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fa98e3c45fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fa98e6436c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fa98e5e88c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fa98e5ea7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fa98e5ea7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fa98e5ea7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fa98e5ea7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007fa98e5eeb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007fa98e65830a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007fa98e5b19e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007fa98d6cd228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007fa98ebe4479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007fa98eb9193f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007fa98ec3ef58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x0000561d0f15a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x0000561d0f15df43 (/usr/bin/clang+++0x18f43) #46 0x00007fa98e91f739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007fa9874af057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007fa98e9248f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007fa98e8f41b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007fa98e8f4496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007fa98e90be4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x0000561d0f16050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007fa9865ec510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007fa9865ec5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x0000561d0f1550c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_common-38fffd.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_common-38fffd.sh clang-15: note: diagnostic msg: ******************** [124/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp 1. parser at end of file 2. Optimizer #0 0x00007ff7cceb33c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007ff7cce8281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007ff7ccdf7078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007ff7cbf3e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007ff7cd8e90fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007ff7cd8ec252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007ff7cdc2a153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007ff7cf52dce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007ff7cd01d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007ff7ce951a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007ff7cd01d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007ff7ce9519b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007ff7cd01d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007ff7d4adafe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007ff7d3c2ae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007ff7d3eef1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007ff7d300a228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007ff7d4521479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007ff7d44ce93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007ff7d457bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055f636e2d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055f636e30f43 (/usr/bin/clang+++0x18f43) #22 0x00007ff7d425c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007ff7ccdec057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007ff7d42618f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007ff7d42311b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007ff7d4231496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007ff7d4248e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055f636e3350b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007ff7cbf29510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007ff7cbf295c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055f636e280c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libc-fec4f6.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libc-fec4f6.sh clang-15: note: diagnostic msg: ******************** [125/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fcffa1e73c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fcffa1b681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fcffa12b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fcff92729d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fcff92c2d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fcff9272926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fcff925c7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fcff92b6f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fcff92ccadc (/lib64/libc.so.6+0x92adc) #9 0x00007fcff92ce92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fcff92d1263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fcffa2f9155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fd00107d90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fd0010a3178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fd00106a76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fd0010ca666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fd0010de12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fd0010dece0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fd0010dee9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fd0010f0699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fd001124a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fd0010b1717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fd0010b1c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fd0011e0e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fd0011e1d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fd0011e2037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fd0011e5b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fd0011e0d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fd001055bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fd00124bfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fd0010355fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fd0012b46c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fd0012598c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fd00125b7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fd00125b7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fd00125fb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fd0012c930a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fd0012229e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fd00033e228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fd001855479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fd00180293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fd0018aff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055f2fab127e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055f2fab15f43 (/usr/bin/clang+++0x18f43) #44 0x00007fd001590739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fcffa120057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fd0015958f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fd0015651b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fd001565496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fd00157ce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055f2fab1850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fcff925d510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fcff925d5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055f2fab0d0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-998a86.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-998a86.sh clang-15: note: diagnostic msg: ******************** [126/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_file.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fd9687103c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd9686df81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd968654078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd96779b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd9677ebd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fd96779b926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fd9677857fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fd9677dff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fd9677f5adc (/lib64/libc.so.6+0x92adc) #9 0x00007fd9677f792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fd9677fa263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fd968822155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fd96f5a690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fd96f5cc178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fd96f59376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fd96f5f3666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fd96f60712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fd96f607ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fd96f607e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fd96f619699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fd96f64da56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fd96f5da717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fd96f5dac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fd96f709e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fd96f70ad49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fd96f70b037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fd96f70eb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fd96f709d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fd96f57ebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fd96f774fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fd96f55e5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fd96f7dd6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fd96f7828c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fd96f7847bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fd96f7847d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fd96f788b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fd96f7f230a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fd96f74b9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fd96e867228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fd96fd7e479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fd96fd2b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fd96fdd8f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x0000558df9a727e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000558df9a75f43 (/usr/bin/clang+++0x18f43) #44 0x00007fd96fab9739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fd968649057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fd96fabe8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fd96fa8e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fd96fa8e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fd96faa5e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x0000558df9a7850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fd967786510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fd9677865c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x0000558df9a6d0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_file-40c28c.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_file-40c28c.sh clang-15: note: diagnostic msg: ******************** [127/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_mutex.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.cpp 1. parser at end of file 2. Optimizer #0 0x00007f87a71ed3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f87a71bc81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f87a7131078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f87a62789d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f87a721f21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007f87a721f94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007f87a9be89f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007f87a72856e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007f87a72858e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007f87a7bcf04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007f87a7c23d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007f87a7c26252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007f87a7f64153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007f87a9867ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007f87a735744f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007f87a8c8ba15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007f87a7357923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007f87a8c8b9b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007f87a735702f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007f87aee14fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007f87adf64e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007f87ae2291a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007f87ad344228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007f87ae85b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007f87ae80893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007f87ae8b5f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x000055cc562927e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x000055cc56295f43 (/usr/bin/clang+++0x18f43) #28 0x00007f87ae596739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007f87a7126057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007f87ae59b8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007f87ae56b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007f87ae56b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007f87ae582e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x000055cc5629850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007f87a6263510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007f87a62635c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x000055cc5628d0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-7f5b38.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_mutex-7f5b38.sh clang-15: note: diagnostic msg: ******************** [128/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007faac6d5b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007faac6d2a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007faac6c9f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007faac5de69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007faac5e36d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007faac5de6926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007faac5dd07fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007faac5e2af1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007faac5e40adc (/lib64/libc.so.6+0x92adc) #9 0x00007faac5e4292c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007faac5e45263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007faac6e6d155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007faacdbf190d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007faacdc17178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007faacdbde76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007faacdc3e666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007faacdc5212d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007faacdc52ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007faacdc52e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007faacdc64699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007faacdc98a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007faacdc25717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007faacdc25c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007faacdd54e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007faacdd55d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007faacdd56037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007faacdd59b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007faacdd54d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007faacdbc9bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007faacddbffcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007faacdba95fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007faacde286c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007faacddcd8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007faacddcf7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007faacddcf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007faacddd3b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007faacde3d30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007faacdd969e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007faacceb2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007faace3c9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007faace37693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007faace423f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055886f96c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055886f96ff43 (/usr/bin/clang+++0x18f43) #44 0x00007faace104739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007faac6c94057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007faace1098f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007faace0d91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007faace0d9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007faace0f0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055886f97250b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007faac5dd1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007faac5dd15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055886f9670c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-4600b5.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-4600b5.sh clang-15: note: diagnostic msg: ******************** [129/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f27899b13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f278998081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f27898f5078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2788a3c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2788a8cd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f2788a3c926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f2788a267fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f2788a80f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f2788a96adc (/lib64/libc.so.6+0x92adc) #9 0x00007f2788a9892c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f2788a9b263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f2789ac3155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f279084790d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f279086d178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f279083476b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f2790894666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f27908a812d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f27908a8ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f27908a8e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f27908ba699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f27908eea56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f279087b717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f279087bc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f27909aae5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f27909abd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f27909ac037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f27909afb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f27909aad07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f279081fbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f2790a15fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f27907ff5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f2790a7e6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f2790a238c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f2790a257bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f2790a257d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f2790a29b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f2790a9330a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f27909ec9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f278fb08228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f279101f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f2790fcc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f2791079f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x00005591341027e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000559134105f43 (/usr/bin/clang+++0x18f43) #44 0x00007f2790d5a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f27898ea057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f2790d5f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f2790d2f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f2790d2f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f2790d46e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055913410850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f2788a27510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f2788a275c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005591340fd0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-9618b8.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-9618b8.sh clang-15: note: diagnostic msg: ******************** [130/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f0f8c9503c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0f8c91f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0f8c894078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0f8b9db9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0f8ba2bd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f0f8b9db926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f0f8b9c57fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f0f8ba1ff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f0f8ba35adc (/lib64/libc.so.6+0x92adc) #9 0x00007f0f8ba3792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f0f8ba3a263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f0f8ca62155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f0f937e690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f0f9380c178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f0f937d376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f0f93833666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f0f9384712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f0f93847ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f0f93847e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f0f93859699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f0f9388da56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f0f9381a717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f0f9381ac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f0f93949e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f0f9394ad49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f0f9394b037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f0f9394eb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f0f93949d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f0f937bebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f0f939b4fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f0f9379e5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f0f93a1d6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f0f939c28c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f0f939c47bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f0f939c47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f0f939c47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f0f939c47d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007f0f939c8b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007f0f93a3230a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007f0f9398b9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007f0f92aa7228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007f0f93fbe479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007f0f93f6b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007f0f94018f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000056044a3387e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000056044a33bf43 (/usr/bin/clang+++0x18f43) #46 0x00007f0f93cf9739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007f0f8c889057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007f0f93cfe8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007f0f93cce1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007f0f93cce496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007f0f93ce5e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000056044a33e50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007f0f8b9c6510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007f0f8b9c65c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000056044a3330c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_common-e4ba5b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_common-e4ba5b.sh clang-15: note: diagnostic msg: ******************** [131/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fd7a4cba3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd7a4c8981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd7a4bfe078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd7a3d459d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd7a3d95d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fd7a3d45926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fd7a3d2f7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fd7a3d89f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fd7a3d9fadc (/lib64/libc.so.6+0x92adc) #9 0x00007fd7a3da192c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fd7a3da4263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fd7a4dcc155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fd7abb5090d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fd7abb76178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fd7abb3d76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fd7abb9d666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fd7abbb112d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fd7abbb1ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fd7abbb1e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fd7abbc3699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fd7abbf7a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fd7abb84717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fd7abb84c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fd7abcb3e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fd7abcb4d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fd7abcb5037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fd7abcb8b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fd7abcb3d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fd7abb28bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fd7abd1efcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fd7abb085fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fd7abd876c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fd7abd2c8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fd7abd2e7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fd7abd2e7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fd7abd32b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fd7abd9c30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fd7abcf59e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fd7aae11228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fd7ac328479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fd7ac2d593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fd7ac382f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x00005578546e87e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x00005578546ebf43 (/usr/bin/clang+++0x18f43) #44 0x00007fd7ac063739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fd7a4bf3057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fd7ac0688f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fd7ac0381b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fd7ac038496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fd7ac04fe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x00005578546ee50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fd7a3d30510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fd7a3d305c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005578546e30c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_posix-e9fbd4.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_posix-e9fbd4.sh clang-15: note: diagnostic msg: ******************** [132/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp 1. parser at end of file 2. Optimizer #0 0x00007f813f94a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f813f91981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f813f88e078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f813e9d59d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f81403800fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f8140383252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f81406c1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f8141fc4ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f813fab444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f81413e8a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f813fab4923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f81413e89b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f813fab402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f8147571fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f81466c1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f81469861a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f8145aa1228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f8146fb8479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f8146f6593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f8147012f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005579a530b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x00005579a530ef43 (/usr/bin/clang+++0x18f43) #22 0x00007f8146cf3739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f813f883057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f8146cf88f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f8146cc81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f8146cc8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f8146cdfe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005579a531150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f813e9c0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f813e9c05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005579a53060c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_common_libcdep-8c25c5.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_common_libcdep-8c25c5.sh clang-15: note: diagnostic msg: ******************** [133/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flag_parser.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flag_parser.cpp 1. parser at end of file 2. Optimizer #0 0x00007f5b599013c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f5b598d081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5b59845078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f5b5898c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f5b5993321c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007f5b5993394f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007f5b5c2fc9f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007f5b599996e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007f5b599998e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007f5b5a2e304c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007f5b5a337d12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007f5b5a33a252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007f5b5a678153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007f5b5bf7bce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007f5b59a6b44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007f5b5b39fa15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007f5b59a6b923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007f5b5b39f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007f5b59a6b02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007f5b61528fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007f5b60678e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007f5b6093d1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007f5b5fa58228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007f5b60f6f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007f5b60f1c93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007f5b60fc9f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x0000555d939b57e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x0000555d939b8f43 (/usr/bin/clang+++0x18f43) #28 0x00007f5b60caa739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007f5b5983a057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007f5b60caf8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007f5b60c7f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007f5b60c7f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007f5b60c96e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x0000555d939bb50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007f5b58977510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007f5b589775c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x0000555d939b00c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-28dd3b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flag_parser-28dd3b.sh clang-15: note: diagnostic msg: ******************** [134/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f6c3f19e3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f6c3f16d81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f6c3f0e2078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f6c3e2299d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f6c3e279d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f6c3e229926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f6c3e2137fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f6c3e26df1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f6c3e283adc (/lib64/libc.so.6+0x92adc) #9 0x00007f6c3e28592c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f6c3e288263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f6c3f2b0155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f6c4603490d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f6c4605a178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f6c4602176b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f6c46081666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f6c4609512d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f6c46095ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f6c46095e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f6c460a7699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f6c460dba56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f6c46068717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f6c46068c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f6c46197e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f6c46198d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f6c46199037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f6c4619cb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f6c46197d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f6c4600cbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f6c46202fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f6c45fec5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f6c4626b6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f6c462108c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f6c462127bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f6c462127d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f6c46216b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f6c4628030a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f6c461d99e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f6c452f5228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f6c4680c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f6c467b993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f6c46866f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055f13fdcd7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055f13fdd0f43 (/usr/bin/clang+++0x18f43) #44 0x00007f6c46547739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f6c3f0d7057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f6c4654c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f6c4651c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f6c4651c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f6c46533e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055f13fdd350b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f6c3e214510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f6c3e2145c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055f13fdc80c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-79368a.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-79368a.sh clang-15: note: diagnostic msg: ******************** [135/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:157:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:21: Generating code for declaration '__sanitizer::ScopedBlockSignals::~ScopedBlockSignals' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:43: LLVM IR generation of compound statement ('{}') #0 0x00007f07039cb3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f070399a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f070390f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0702a569d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0702aa6d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f0702a56926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f0702a407fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f0702a9af1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f0702ab0adc (/lib64/libc.so.6+0x92adc) #9 0x00007f0702ab292c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f0702ab5263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f0703add155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f070a86190d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f070a887178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f070a84e76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f070a8ab54e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f070a8c3042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f070a8d4699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f070a908a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f070a895717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f070a895c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f070a9c4e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f070a9c5d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #23 0x00007f070a9c6037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #24 0x00007f070a9c9b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #25 0x00007f070a9c4d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #26 0x00007f070a839bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #27 0x00007f070aa2ffcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #28 0x00007f070a8195fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #29 0x00007f070aa986c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #30 0x00007f070aa3d8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #31 0x00007f070aa8d2f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #32 0x00007f070aa2a553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #33 0x00007f070aaacee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #34 0x00007f070a9d4c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #35 0x00007f0709b221ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #36 0x00007f070b039479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #37 0x00007f070afe693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #38 0x00007f070b093f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #39 0x000055afa216b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #40 0x000055afa216ef43 (/usr/bin/clang+++0x18f43) #41 0x00007f070ad74739 (/lib64/libclang-cpp.so.15+0x1a9d739) #42 0x00007f0703904057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #43 0x00007f070ad798f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #44 0x00007f070ad491b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #45 0x00007f070ad49496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #46 0x00007f070ad60e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #47 0x000055afa217150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #48 0x00007f0702a41510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #49 0x00007f0702a415c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #50 0x000055afa21660c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_linux-97fa16.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_linux-97fa16.sh clang-15: note: diagnostic msg: ******************** [136/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stack_store.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stack_store.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stack_store.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stack_store.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector<__sanitizer::detail::DenseMapPair>::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fe1afed13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe1afea081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe1afe15078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe1aef5c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe1aefacd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fe1aef5c926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fe1aef467fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fe1aefa0f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fe1aefb6adc (/lib64/libc.so.6+0x92adc) #9 0x00007fe1aefb892c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fe1aefbb263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fe1affe3155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fe1b6d6790d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fe1b6d8d178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fe1b6d5476b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fe1b6db4666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fe1b6dc812d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fe1b6dc8ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fe1b6dc8e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fe1b6dda699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fe1b6e0ea56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fe1b6d9b717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fe1b6d9bc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fe1b6ecae5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fe1b6ecbd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fe1b6ecc037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fe1b6ecfb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fe1b6ecad07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fe1b6d3fbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fe1b6f35fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fe1b6d1f5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fe1b6f9e6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fe1b6f438c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fe1b6f457bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fe1b6f457d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fe1b6f457d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fe1b6f457d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007fe1b6f49b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007fe1b6fb330a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007fe1b6f0c9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007fe1b6028228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007fe1b753f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007fe1b74ec93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007fe1b7599f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000055fbb0d857e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000055fbb0d88f43 (/usr/bin/clang+++0x18f43) #46 0x00007fe1b727a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007fe1afe0a057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007fe1b727f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007fe1b724f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007fe1b724f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007fe1b7266e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000055fbb0d8b50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007fe1aef47510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007fe1aef475c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000055fbb0d800c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stack_store-4fb9c6.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stack_store-4fb9c6.sh clang-15: note: diagnostic msg: ******************** [137/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fcb08d0d3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fcb08cdc81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fcb08c51078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fcb07d989d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fcb07de8d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fcb07d98926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fcb07d827fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fcb07ddcf1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fcb07df2adc (/lib64/libc.so.6+0x92adc) #9 0x00007fcb07df492c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fcb07df7263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fcb08e1f155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fcb0fba390d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fcb0fbc9178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fcb0fb9076b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fcb0fbf0666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fcb0fc0412d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fcb0fc04ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fcb0fc04e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fcb0fc16699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fcb0fc4aa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fcb0fbd7717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fcb0fbd7c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fcb0fd06e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fcb0fd07d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fcb0fd08037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fcb0fd0bb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fcb0fd06d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fcb0fb7bbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fcb0fd71fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fcb0fb5b5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fcb0fdda6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fcb0fd7f8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fcb0fd817bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fcb0fd817d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fcb0fd817d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fcb0fd817d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007fcb0fd85b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007fcb0fdef30a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007fcb0fd489e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007fcb0ee64228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007fcb1037b479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007fcb1032893f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007fcb103d5f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000055b89531a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000055b89531df43 (/usr/bin/clang+++0x18f43) #46 0x00007fcb100b6739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007fcb08c46057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007fcb100bb8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007fcb1008b1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007fcb1008b496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007fcb100a2e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000055b89532050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007fcb07d83510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007fcb07d835c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000055b8953150c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace_libcdep-3e7398.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace_libcdep-3e7398.sh clang-15: note: diagnostic msg: ******************** [138/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stacktrace_printer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stacktrace_printer.cpp 1. parser at end of file 2. Optimizer #0 0x00007ffb9f6353c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007ffb9f60481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007ffb9f579078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007ffb9e6c09d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007ffba006b0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007ffba006e252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007ffba03ac153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007ffba1cafce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007ffb9f79f44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007ffba10d3a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007ffb9f79f923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007ffba10d39b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007ffb9f79f02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007ffba725cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007ffba63ace08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007ffba66711a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007ffba578c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007ffba6ca3479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007ffba6c5093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007ffba6cfdf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000564bc48347e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000564bc4837f43 (/usr/bin/clang+++0x18f43) #22 0x00007ffba69de739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007ffb9f56e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007ffba69e38f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007ffba69b31b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007ffba69b3496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007ffba69cae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000564bc483a50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007ffb9e6ab510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007ffb9e6ab5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000564bc482f0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace_printer-67a6da.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stacktrace_printer-67a6da.sh clang-15: note: diagnostic msg: ******************** [139/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_flags.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_flags.cpp 1. parser at end of file 2. Optimizer #0 0x00007f881f8a33c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f881f87281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f881f7e7078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f881e92e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f88202d90fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f88202dc252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f882061a153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f8821f1dce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f881fa0d44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f8821341a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f881fa0d923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f88213419b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f881fa0d02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f88274cafe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f882661ae08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f88268df1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f88259fa228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f8826f11479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f8826ebe93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f8826f6bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000555ff640d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000555ff6410f43 (/usr/bin/clang+++0x18f43) #22 0x00007f8826c4c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f881f7dc057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f8826c518f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f8826c211b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f8826c21496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f8826c38e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000555ff641350b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f881e919510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f881e9195c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000555ff64080c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_flags-ea1027.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_flags-ea1027.sh clang-15: note: diagnostic msg: ******************** [140/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libignore.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libignore.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:3: Generating code for declaration '__sanitizer::ListOfModules::~ListOfModules' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:864:20: LLVM IR generation of compound statement ('{}') #0 0x00007faa52b253c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007faa52af481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007faa52a69078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007faa51bb09d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007faa51c00d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007faa51bb0926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007faa51b9a7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007faa51bf4f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007faa51c0aadc (/lib64/libc.so.6+0x92adc) #9 0x00007faa51c0c92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007faa51c0f263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007faa52c37155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007faa599bb90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007faa599e1178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007faa599a876b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007faa59a08666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007faa59a1c12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007faa59a1cce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007faa59a1ce9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007faa59a2e699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007faa59a62a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007faa599ef717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007faa599efc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007faa59b1ee5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007faa59b1fd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007faa59b20037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007faa59b23b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007faa59b1ed07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007faa59993bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007faa59b89fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007faa599735fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007faa59bf26c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007faa59b978c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007faa59b997bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007faa59b997d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007faa59b9db2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007faa59c0730a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007faa59b609e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007faa58c7c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007faa5a193479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007faa5a14093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007faa5a1edf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055e3430fb7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055e3430fef43 (/usr/bin/clang+++0x18f43) #44 0x00007faa59ece739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007faa52a5e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007faa59ed38f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007faa59ea31b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007faa59ea3496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007faa59ebae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055e34310150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007faa51b9b510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007faa51b9b5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055e3430f60c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-65f2e1.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libignore-65f2e1.sh clang-15: note: diagnostic msg: ******************** [141/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f2e5bd693c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2e5bd3881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2e5bcad078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2e5adf49d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2e5ae44d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f2e5adf4926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f2e5adde7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f2e5ae38f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f2e5ae4eadc (/lib64/libc.so.6+0x92adc) #9 0x00007f2e5ae5092c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f2e5ae53263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f2e5be7b155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f2e62bff90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f2e62c25178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f2e62bec76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f2e62c4c666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f2e62c6012d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f2e62c60ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f2e62c60e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f2e62c72699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f2e62ca6a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f2e62c33717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f2e62c33c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f2e62d62e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f2e62d63d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f2e62d64037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f2e62d67b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f2e62d62d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f2e62bd7bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f2e62dcdfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f2e62bb75fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f2e62e366c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f2e62ddb8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f2e62ddd7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f2e62ddd7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f2e62de1b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f2e62e4b30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f2e62da49e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f2e61ec0228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f2e633d7479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f2e6338493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f2e63431f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x00005629a5e2b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x00005629a5e2ef43 (/usr/bin/clang+++0x18f43) #44 0x00007f2e63112739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f2e5bca2057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f2e631178f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f2e630e71b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f2e630e7496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f2e630fee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x00005629a5e3150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f2e5addf510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f2e5addf5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x00005629a5e260c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-33653e.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-33653e.sh clang-15: note: diagnostic msg: ******************** [142/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stackdepot.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stackdepot.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_stackdepot.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stackdepot.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f635cec53c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f635ce9481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f635ce09078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f635bf509d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f635bfa0d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f635bf50926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f635bf3a7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f635bf94f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f635bfaaadc (/lib64/libc.so.6+0x92adc) #9 0x00007f635bfac92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f635bfaf263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f635cfd7155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f6363d5b90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f6363d81178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f6363d4876b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f6363da8666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f6363dbc12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f6363dbcce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f6363dbce9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f6363dce699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f6363e02a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f6363d8f717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f6363d8fc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f6363ebee5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f6363ebfd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f6363ec0037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f6363ec3b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f6363ebed07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f6363d33bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f6363f29fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f6363d135fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f6363f926c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f6363f378c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f6363f397bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f6363f397d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f6363f397d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f6363f3db2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #37 0x00007f6363fa730a (/lib64/libclang-cpp.so.15+0x17d630a) #38 0x00007f6363f009e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #39 0x00007f636301c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #40 0x00007f6364533479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #41 0x00007f63644e093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #42 0x00007f636458df58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #43 0x000055e6871f27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #44 0x000055e6871f5f43 (/usr/bin/clang+++0x18f43) #45 0x00007f636426e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #46 0x00007f635cdfe057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #47 0x00007f63642738f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #48 0x00007f63642431b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #49 0x00007f6364243496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #50 0x00007f636425ae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #51 0x000055e6871f850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #52 0x00007f635bf3b510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #53 0x00007f635bf3b5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #54 0x000055e6871ed0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stackdepot-b6797b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stackdepot-b6797b.sh clang-15: note: diagnostic msg: ******************** [143/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libbacktrace.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp 1. parser at end of file 2. Optimizer #0 0x00007f4673b193c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f4673ae881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f4673a5d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f4672ba49d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f467454f0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f4674552252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f4674890153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f4676193ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f4673c8344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f46755b7a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f4673c83923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f46755b79b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f4673c8302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f467b740fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f467a890e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f467ab551a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f4679c70228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f467b187479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f467b13493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f467b1e1f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000561f312787e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000561f3127bf43 (/usr/bin/clang+++0x18f43) #22 0x00007f467aec2739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f4673a52057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f467aec78f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f467ae971b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f467ae97496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f467aeaee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000561f3127e50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f4672b8f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f4672b8f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000561f312730c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_libbacktrace-c87a82.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_libbacktrace-c87a82.sh clang-15: note: diagnostic msg: ******************** [144/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f2556f9e3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2556f6d81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2556ee2078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f25560299d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2556079d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f2556029926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f25560137fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f255606df1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f2556083adc (/lib64/libc.so.6+0x92adc) #9 0x00007f255608592c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f2556088263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f25570b0155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f255de3490d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f255de5a178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f255de2176b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f255de81666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f255de9512d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f255de95ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f255de95e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f255dea7699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f255dedba56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f255de68717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f255de68c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f255df97e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f255df98d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f255df99037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f255df9cb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f255df97d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f255de0cbb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f255e002fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f255ddec5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f255e06b6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f255e0108c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f255e0127bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f255e0127d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f255e016b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f255e08030a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f255dfd99e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f255d0f5228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f255e60c479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f255e5b993f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f255e666f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055da3d8467e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055da3d849f43 (/usr/bin/clang+++0x18f43) #44 0x00007f255e347739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f2556ed7057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f255e34c8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f255e31c1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f255e31c496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f255e333e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055da3d84c50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f2556014510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f25560145c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055da3d8410c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-810dc4.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-810dc4.sh clang-15: note: diagnostic msg: ******************** [145/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:157:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:21: Generating code for declaration '__sanitizer::ScopedBlockSignals::~ScopedBlockSignals' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:43: LLVM IR generation of compound statement ('{}') #0 0x00007fc519c473c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc519c1681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc519b8b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc518cd29d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc518d22d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fc518cd2926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fc518cbc7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fc518d16f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fc518d2cadc (/lib64/libc.so.6+0x92adc) #9 0x00007fc518d2e92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fc518d31263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fc519d59155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fc520add90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fc520b03178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fc520aca76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fc520b2754e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007fc520b3f042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007fc520b50699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007fc520b84a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007fc520b11717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007fc520b11c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007fc520c40e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007fc520c41d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #23 0x00007fc520c42037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #24 0x00007fc520c45b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #25 0x00007fc520c40d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #26 0x00007fc520ab5bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #27 0x00007fc520cabfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #28 0x00007fc520a955fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #29 0x00007fc520d146c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #30 0x00007fc520cb98c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #31 0x00007fc520d092f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #32 0x00007fc520ca6553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #33 0x00007fc520d28ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #34 0x00007fc520c50c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #35 0x00007fc51fd9e1ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #36 0x00007fc5212b5479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #37 0x00007fc52126293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #38 0x00007fc52130ff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #39 0x000055ce639497e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #40 0x000055ce6394cf43 (/usr/bin/clang+++0x18f43) #41 0x00007fc520ff0739 (/lib64/libclang-cpp.so.15+0x1a9d739) #42 0x00007fc519b80057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #43 0x00007fc520ff58f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #44 0x00007fc520fc51b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #45 0x00007fc520fc5496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #46 0x00007fc520fdce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #47 0x000055ce6394f50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #48 0x00007fc518cbd510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #49 0x00007fc518cbd5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #50 0x000055ce639440c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_linux-28bd9e.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_linux-28bd9e.sh clang-15: note: diagnostic msg: ******************** [146/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_stoptheworld_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f14e655b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f14e652a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f14e649f078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f14e55e69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f14e5636d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f14e55e6926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f14e55d07fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f14e562af1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f14e5640adc (/lib64/libc.so.6+0x92adc) #9 0x00007f14e564292c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f14e5645263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f14e666d155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f14ed3f190d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f14ed417178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f14ed3de76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f14ed43e666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f14ed45212d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f14ed452ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f14ed452e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f14ed464699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f14ed498a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f14ed425717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f14ed425c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f14ed554e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f14ed555d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f14ed556037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f14ed559b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f14ed554d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f14ed3c9bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f14ed5bffcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f14ed3a95fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f14ed6286c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f14ed5cd8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f14ed5cf7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f14ed5cf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f14ed5cf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f14ed5d3b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #37 0x00007f14ed63d30a (/lib64/libclang-cpp.so.15+0x17d630a) #38 0x00007f14ed5969e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #39 0x00007f14ec6b2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #40 0x00007f14edbc9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #41 0x00007f14edb7693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #42 0x00007f14edc23f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #43 0x00005618d60d97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #44 0x00005618d60dcf43 (/usr/bin/clang+++0x18f43) #45 0x00007f14ed904739 (/lib64/libclang-cpp.so.15+0x1a9d739) #46 0x00007f14e6494057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #47 0x00007f14ed9098f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #48 0x00007f14ed8d91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #49 0x00007f14ed8d9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #50 0x00007f14ed8f0e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #51 0x00005618d60df50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #52 0x00007f14e55d1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #53 0x00007f14e55d15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #54 0x00005618d60d40c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_stoptheworld_linux_libcdep-b98c65.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_stoptheworld_linux_libcdep-b98c65.sh clang-15: note: diagnostic msg: ******************** [147/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonCoverage.x86_64.dir/sanitizer_coverage_libcdep_new.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.h:71:3: Generating code for declaration '__sanitizer::FileCloser::~FileCloser' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_file.h:71:17: LLVM IR generation of compound statement ('{}') #0 0x00007fa13526c3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa13523b81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa1351b0078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa1342f79d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa134347d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fa1342f7926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fa1342e17fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fa13433bf1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fa134351adc (/lib64/libc.so.6+0x92adc) #9 0x00007fa13435392c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fa134356263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fa13537e155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fa13c10290d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fa13c128178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fa13c0ef76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fa13c14c54e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007fa13c164042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007fa13c175699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007fa13c1a9a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007fa13c136717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007fa13c136c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007fa13c265e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007fa13c266d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #23 0x00007fa13c267037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #24 0x00007fa13c26ab8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #25 0x00007fa13c265d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #26 0x00007fa13c0dabb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #27 0x00007fa13c2d0fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #28 0x00007fa13c0ba5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #29 0x00007fa13c3396c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #30 0x00007fa13c2de8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #31 0x00007fa13c2e07bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #32 0x00007fa13c2e07d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #33 0x00007fa13c2e07d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #34 0x00007fa13c2e07d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fa13c2e4b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fa13c34e30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fa13c2a79e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fa13b3c3228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fa13c8da479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fa13c88793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fa13c934f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055658d2db7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055658d2def43 (/usr/bin/clang+++0x18f43) #44 0x00007fa13c615739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fa1351a5057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fa13c61a8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fa13c5ea1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fa13c5ea496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fa13c601e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055658d2e150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fa1342e2510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fa1342e25c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055658d2d60c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_coverage_libcdep_new-d3c0ee.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_coverage_libcdep_new-d3c0ee.sh clang-15: note: diagnostic msg: ******************** [148/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator_report.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator_report.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_allocator_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator_report.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:246:3: Generating code for declaration '__sanitizer::ScopedErrorReportLock::~ScopedErrorReportLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:246:54: LLVM IR generation of compound statement ('{}') #0 0x00007f1d269833c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1d2695281f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1d268c7078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1d25a0e9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1d25a5ed9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f1d25a0e926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f1d259f87fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f1d25a52f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f1d25a68adc (/lib64/libc.so.6+0x92adc) #9 0x00007f1d25a6a92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f1d25a6d263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f1d26a95155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f1d2d81990d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f1d2d83f178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f1d2d80676b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f1d2d86354e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f1d2d87b042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f1d2d88c699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f1d2d8c0a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f1d2d84d717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f1d2d84dc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f1d2d97ce5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f1d2d97dd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #23 0x00007f1d2d97e037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #24 0x00007f1d2d981b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #25 0x00007f1d2d97cd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #26 0x00007f1d2d7f1bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #27 0x00007f1d2d9e7fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #28 0x00007f1d2d7d15fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #29 0x00007f1d2da506c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #30 0x00007f1d2d9f58c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #31 0x00007f1d2d9f77bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #32 0x00007f1d2d9f77d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #33 0x00007f1d2d9f77d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #34 0x00007f1d2d9f77d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f1d2d9fbb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f1d2da6530a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f1d2d9be9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f1d2cada228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f1d2dff1479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f1d2df9e93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f1d2e04bf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055ab667f57e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055ab667f8f43 (/usr/bin/clang+++0x18f43) #44 0x00007f1d2dd2c739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f1d268bc057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f1d2dd318f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f1d2dd011b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f1d2dd01496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f1d2dd18e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055ab667fb50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f1d259f9510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f1d259f95c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055ab667f00c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_allocator_report-83dd9f.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_allocator_report-83dd9f.sh clang-15: note: diagnostic msg: ******************** [149/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp:21:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp:136:30: Generating code for declaration '__sanitizer::Symbolizer::SymbolizerScope::~SymbolizerScope' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer.cpp:136:49: LLVM IR generation of compound statement ('{}') #0 0x00007fd64e1f83c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fd64e1c781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fd64e13c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fd64d2839d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fd64d2d3d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fd64d283926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fd64d26d7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fd64d2c7f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fd64d2ddadc (/lib64/libc.so.6+0x92adc) #9 0x00007fd64d2df92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fd64d2e2263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fd64e30a155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fd65508e90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fd6550b4178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fd65507b76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fd6550d854e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007fd6550f0042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007fd655101699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007fd655135a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007fd6550c2717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007fd6550c2c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007fd6551f1e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007fd6551f3743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007fd6551f2d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007fd6551f3037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007fd6551f6b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007fd6551f1d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007fd655066bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #28 0x00007fd65525cfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #29 0x00007fd6550465fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #30 0x00007fd6552c56c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #31 0x00007fd65526a8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #32 0x00007fd6552ba2f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #33 0x00007fd655257553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #34 0x00007fd6552d9ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #35 0x00007fd655201c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #36 0x00007fd65434f1ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #37 0x00007fd655866479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #38 0x00007fd65581393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #39 0x00007fd6558c0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #40 0x000055fb78da07e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #41 0x000055fb78da3f43 (/usr/bin/clang+++0x18f43) #42 0x00007fd6555a1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #43 0x00007fd64e131057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #44 0x00007fd6555a68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #45 0x00007fd6555761b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #46 0x00007fd655576496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #47 0x00007fd65558de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #48 0x000055fb78da650b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #49 0x00007fd64d26e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #50 0x00007fd64d26e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #51 0x000055fb78d9b0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer-944a2b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer-944a2b.sh clang-15: note: diagnostic msg: ******************** [150/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f2e24cf43c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f2e24cc381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f2e24c38078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f2e23d7f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f2e23dcfd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f2e23d7f926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f2e23d697fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f2e23dc3f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f2e23dd9adc (/lib64/libc.so.6+0x92adc) #9 0x00007f2e23ddb92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f2e23dde263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f2e24e06155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f2e2bb8a90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f2e2bbb0178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f2e2bb7776b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f2e2bbd7666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f2e2bbeb12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f2e2bbebce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f2e2bbebe9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f2e2bbfd699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f2e2bc31a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f2e2bbbe717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f2e2bbbec21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f2e2bcede5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f2e2bceed49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f2e2bcef037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f2e2bcf2b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f2e2bcedd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f2e2bb62bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f2e2bd58fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f2e2bb425fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f2e2bdc16c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f2e2bd668c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f2e2bd687bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f2e2bd687d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f2e2bd6cb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f2e2bdd630a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f2e2bd2f9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f2e2ae4b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f2e2c362479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f2e2c30f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f2e2c3bcf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x0000562d462067e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000562d46209f43 (/usr/bin/clang+++0x18f43) #44 0x00007f2e2c09d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f2e24c2d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f2e2c0a28f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f2e2c0721b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f2e2c072496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f2e2c089e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x0000562d4620c50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f2e23d6a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f2e23d6a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x0000562d462010c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_libcdep-248b5e.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_libcdep-248b5e.sh clang-15: note: diagnostic msg: ******************** [151/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_report.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_report.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f3044b6b3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f3044b3a81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f3044aaf078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f3043bf69d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f3043c46d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f3043bf6926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f3043be07fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f3043c3af1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f3043c50adc (/lib64/libc.so.6+0x92adc) #9 0x00007f3043c5292c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f3043c55263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f3044c7d155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f304ba0190d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f304ba27178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f304b9ee76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f304ba4e666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f304ba6212d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f304ba62ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f304ba62e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f304ba74699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f304baa8a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f304ba35717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f304ba35c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f304bb64e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f304bb65d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f304bb66037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f304bb69b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f304bb64d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f304b9d9bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f304bbcffcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f304b9b95fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f304bc386c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f304bbdd8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f304bbdf7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f304bbdf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f304bbdf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f304bbdf7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007f304bbe3b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007f304bc4d30a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007f304bba69e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007f304acc2228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007f304c1d9479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007f304c18693f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007f304c233f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000055acb03817e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000055acb0384f43 (/usr/bin/clang+++0x18f43) #46 0x00007f304bf14739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007f3044aa4057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007f304bf198f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007f304bee91b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007f304bee9496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007f304bf00e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000055acb038750b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007f3043be1510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007f3043be15c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000055acb037c0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_report-6f621a.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_report-6f621a.sh clang-15: note: diagnostic msg: ******************** [152/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_allocator.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_allocator.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f13d53b23c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f13d538181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f13d52f6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f13d443d9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f13d448dd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f13d443d926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f13d44277fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f13d4481f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f13d4497adc (/lib64/libc.so.6+0x92adc) #9 0x00007f13d449992c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f13d449c263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f13d54c4155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f13dc24890d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f13dc26e178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f13dc23576b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f13dc295666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f13dc2a912d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f13dc2a9ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f13dc2a9e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f13dc2bb699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f13dc2efa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f13dc27c717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f13dc27cc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f13dc3abe5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f13dc3acd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f13dc3ad037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f13dc3b0b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f13dc3abd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f13dc220bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f13dc416fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f13dc2005fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f13dc47f6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f13dc4248c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f13dc4267bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f13dc4267d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f13dc42ab2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f13dc49430a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f13dc3ed9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f13db509228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f13dca20479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f13dc9cd93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f13dca7af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055e7c173a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055e7c173df43 (/usr/bin/clang+++0x18f43) #44 0x00007f13dc75b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f13d52eb057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f13dc7608f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f13dc7301b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f13dc730496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f13dc747e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055e7c174050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f13d4428510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f13d44285c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055e7c17350c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-b4f5a8.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_allocator-b4f5a8.sh clang-15: note: diagnostic msg: ******************** [153/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f48ee6f03c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f48ee6bf81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f48ee634078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f48ed77b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f48ed7cbd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f48ed77b926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f48ed7657fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f48ed7bff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f48ed7d5adc (/lib64/libc.so.6+0x92adc) #9 0x00007f48ed7d792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f48ed7da263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f48ee802155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f48f558690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f48f55ac178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f48f557376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f48f55d3666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f48f55e712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f48f55e7ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f48f55e7e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f48f55f9699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f48f562da56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f48f55ba717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f48f55bac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f48f56e9e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f48f56ead49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f48f56eb037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f48f56eeb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f48f56e9d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f48f555ebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f48f5754fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f48f553e5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f48f57bd6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f48f57628c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f48f57647bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f48f57647d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f48f57647d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f48f57647d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007f48f5768b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007f48f57d230a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007f48f572b9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007f48f4847228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007f48f5d5e479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007f48f5d0b93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007f48f5db8f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x000055e0e5ba97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x000055e0e5bacf43 (/usr/bin/clang+++0x18f43) #46 0x00007f48f5a99739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007f48ee629057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007f48f5a9e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007f48f5a6e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007f48f5a6e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007f48f5a85e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x000055e0e5baf50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007f48ed766510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007f48ed7665c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x000055e0e5ba40c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_common-351050.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_common-351050.sh clang-15: note: diagnostic msg: ******************** [154/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_deadlock_detector1.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_deadlock_detector1.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:3: Generating code for declaration '__sanitizer::GenericScopedLock<__sanitizer::StaticSpinMutex>::~GenericScopedLock' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_mutex.h:386:44: LLVM IR generation of compound statement ('{}') #0 0x00007f38f18a23c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f38f187181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f38f17e6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f38f092d9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f38f097dd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f38f092d926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f38f09177fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f38f0971f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f38f0987adc (/lib64/libc.so.6+0x92adc) #9 0x00007f38f098992c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f38f098c263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f38f19b4155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f38f873890d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f38f875e178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f38f872576b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f38f8785666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f38f879912d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f38f8799ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f38f8799e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f38f87ab699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f38f87dfa56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f38f876c717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f38f876cc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f38f889be5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f38f889cd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f38f889d037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f38f88a0b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f38f889bd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f38f8710bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f38f8906fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f38f86f05fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f38f896f6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f38f89148c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f38f89167bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f38f89167d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f38f891ab2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f38f898430a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f38f88dd9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f38f79f9228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f38f8f10479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f38f8ebd93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f38f8f6af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x0000558d5bd3c7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x0000558d5bd3ff43 (/usr/bin/clang+++0x18f43) #44 0x00007f38f8c4b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f38f17db057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f38f8c508f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f38f8c201b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f38f8c20496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f38f8c37e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x0000558d5bd4250b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f38f0918510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f38f09185c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x0000558d5bd370c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-1303e9.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_deadlock_detector1-1303e9.sh clang-15: note: diagnostic msg: ******************** [155/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_libc.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_libc.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc0f23823c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc0f235181f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc0f22c6078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc0f140d9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc0f2db80fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fc0f2dbb252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fc0f30f9153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fc0f49fcce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fc0f24ec44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fc0f3e20a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fc0f24ec923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fc0f3e209b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fc0f24ec02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fc0f9fa9fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fc0f90f9e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fc0f93be1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fc0f84d9228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fc0f99f0479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fc0f999d93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fc0f9a4af58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055a9875ab7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055a9875aef43 (/usr/bin/clang+++0x18f43) #22 0x00007fc0f972b739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fc0f22bb057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fc0f97308f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fc0f97001b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fc0f9700496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fc0f9717e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055a9875b150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007fc0f13f8510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fc0f13f85c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055a9875a60c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_libc-729d9b.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_libc-729d9b.sh clang-15: note: diagnostic msg: ******************** [156/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f7fb4be53c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7fb4bb481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7fb4b29078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f7fb3c709d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7fb3cc0d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f7fb3c70926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f7fb3c5a7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f7fb3cb4f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f7fb3ccaadc (/lib64/libc.so.6+0x92adc) #9 0x00007f7fb3ccc92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f7fb3ccf263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f7fb4cf7155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f7fbba7b90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f7fbbaa1178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f7fbba6876b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f7fbbac8666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f7fbbadc12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f7fbbadcce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f7fbbadce9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f7fbbaee699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f7fbbb22a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f7fbbaaf717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f7fbbaafc21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f7fbbbdee5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f7fbbbdfd49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f7fbbbe0037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f7fbbbe3b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f7fbbbded07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f7fbba53bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f7fbbc49fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f7fbba335fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f7fbbcb26c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f7fbbc578c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f7fbbc597bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f7fbbc597d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f7fbbc5db2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007f7fbbcc730a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007f7fbbc209e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007f7fbad3c228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007f7fbc253479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007f7fbc20093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007f7fbc2adf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000056530b2a27e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000056530b2a5f43 (/usr/bin/clang+++0x18f43) #44 0x00007f7fbbf8e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007f7fb4b1e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007f7fbbf938f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007f7fbbf631b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007f7fbbf63496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007f7fbbf7ae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000056530b2a850b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007f7fb3c5b510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007f7fb3c5b5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000056530b29d0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_posix-7c5434.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_posix-7c5434.sh clang-15: note: diagnostic msg: ******************** [157/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_common.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:21:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:22: Generating code for declaration '__sanitizer::MemoryMappingLayout::~MemoryMappingLayout' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_common.cpp:90:45: LLVM IR generation of compound statement ('{}') #0 0x00007f6bead573c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f6bead2681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f6beac9b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f6be9de29d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f6be9e32d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f6be9de2926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f6be9dcc7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f6be9e26f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f6be9e3cadc (/lib64/libc.so.6+0x92adc) #9 0x00007f6be9e3e92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f6be9e41263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f6beae69155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f6bf1bed90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f6bf1c13178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f6bf1bda76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f6bf1c3754e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f6bf1c4f042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f6bf1c60699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f6bf1c94a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f6bf1c21717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f6bf1c21c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f6bf1d50e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f6bf1d52743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f6bf1d51d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f6bf1d52037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f6bf1d55b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f6bf1d50d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f6bf1bc5bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #28 0x00007f6bf1dbbfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #29 0x00007f6bf1ba55fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #30 0x00007f6bf1e246c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #31 0x00007f6bf1dc98c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #32 0x00007f6bf1e192f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #33 0x00007f6bf1db6553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #34 0x00007f6bf1e38ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #35 0x00007f6bf1d60c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #36 0x00007f6bf0eae1ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #37 0x00007f6bf23c5479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #38 0x00007f6bf237293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #39 0x00007f6bf241ff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #40 0x00005618b10807e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #41 0x00005618b1083f43 (/usr/bin/clang+++0x18f43) #42 0x00007f6bf2100739 (/lib64/libclang-cpp.so.15+0x1a9d739) #43 0x00007f6beac90057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #44 0x00007f6bf21058f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #45 0x00007f6bf20d51b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #46 0x00007f6bf20d5496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #47 0x00007f6bf20ece4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #48 0x00005618b108650b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #49 0x00007f6be9dcd510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #50 0x00007f6be9dcd5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #51 0x00005618b107b0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-634ec1.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_common-634ec1.sh clang-15: note: diagnostic msg: ******************** [158/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_procmaps_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_procmaps_linux.cpp 1. parser at end of file 2. Optimizer #0 0x00007f39c4a653c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f39c4a3481f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f39c49a9078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f39c3af09d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f39c549b0fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f39c549e252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f39c57dc153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f39c70dfce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f39c4bcf44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f39c6503a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f39c4bcf923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f39c65039b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f39c4bcf02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f39cc68cfe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f39cb7dce08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f39cbaa11a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f39cabbc228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f39cc0d3479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f39cc08093f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f39cc12df58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055d2ca6297e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055d2ca62cf43 (/usr/bin/clang+++0x18f43) #22 0x00007f39cbe0e739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f39c499e057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f39cbe138f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f39cbde31b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f39cbde3496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f39cbdfae4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055d2ca62f50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f39c3adb510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f39c3adb5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055d2ca6240c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-a8c9d0.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_procmaps_linux-a8c9d0.sh clang-15: note: diagnostic msg: ******************** [159/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix_libcdep.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_posix_libcdep.cpp 1. parser at end of file 2. Optimizer #0 0x00007fa5e36813c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fa5e365081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fa5e35c5078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fa5e270c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fa5e40b70fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007fa5e40ba252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fa5e43f8153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fa5e5cfbce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fa5e37eb44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fa5e511fa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fa5e37eb923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fa5e511f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fa5e37eb02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fa5eb2a8fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fa5ea3f8e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fa5ea6bd1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fa5e97d8228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fa5eacef479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fa5eac9c93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fa5ead49f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055be948287e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055be9482bf43 (/usr/bin/clang+++0x18f43) #22 0x00007fa5eaa2a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fa5e35ba057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fa5eaa2f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fa5ea9ff1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fa5ea9ff496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fa5eaa16e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055be9482e50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007fa5e26f7510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fa5e26f75c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055be948230c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_posix_libcdep-9e4804.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_posix_libcdep-9e4804.sh clang-15: note: diagnostic msg: ******************** [160/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_printf.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_printf.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007facb0ee43c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007facb0eb381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007facb0e28078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007facaff6f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007facaffbfd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007facaff6f926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007facaff597fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007facaffb3f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007facaffc9adc (/lib64/libc.so.6+0x92adc) #9 0x00007facaffcb92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007facaffce263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007facb0ff6155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007facb7d7a90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007facb7da0178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007facb7d6776b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007facb7dc7666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007facb7ddb12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007facb7ddbce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007facb7ddbe9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007facb7ded699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007facb7e21a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007facb7dae717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007facb7daec21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007facb7edde5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007facb7eded49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007facb7edf037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007facb7ee2b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007facb7eddd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007facb7d52bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007facb7f48fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007facb7d325fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007facb7fb16c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007facb7f568c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007facb7f587bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007facb7f587d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007facb7f587d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007facb7f587d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007facb7f5cb2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #38 0x00007facb7fc630a (/lib64/libclang-cpp.so.15+0x17d630a) #39 0x00007facb7f1f9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #40 0x00007facb703b228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #41 0x00007facb8552479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #42 0x00007facb84ff93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #43 0x00007facb85acf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #44 0x0000559f53dd47e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #45 0x0000559f53dd7f43 (/usr/bin/clang+++0x18f43) #46 0x00007facb828d739 (/lib64/libclang-cpp.so.15+0x1a9d739) #47 0x00007facb0e1d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #48 0x00007facb82928f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #49 0x00007facb82621b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #50 0x00007facb8262496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #51 0x00007facb8279e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #52 0x0000559f53dda50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #53 0x00007facaff5a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #54 0x00007facaff5a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #55 0x0000559f53dcf0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_printf-d8f9c9.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_printf-d8f9c9.sh clang-15: note: diagnostic msg: ******************** [161/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp 1. parser at end of file 2. Optimizer #0 0x00007fe095dcf3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe095d9e81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe095d13078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe094e5a9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe095c287b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007fe096808252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007fe096b46153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007fe098449ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007fe095f3944f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007fe09786da15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007fe095f39923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007fe09786d9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007fe095f3902f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007fe09d9f6fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007fe09cb46e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007fe09ce0b1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007fe09bf26228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007fe09d43d479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007fe09d3ea93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007fe09d497f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055c83429d7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055c8342a0f43 (/usr/bin/clang+++0x18f43) #22 0x00007fe09d178739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007fe095d08057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007fe09d17d8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007fe09d14d1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007fe09d14d496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007fe09d164e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055c8342a350b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007fe094e45510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007fe094e455c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055c8342980c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-dd5fbf.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-dd5fbf.sh clang-15: note: diagnostic msg: ******************** [162/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp 1. parser at end of file 2. Optimizer #0 0x00007f93a39d93c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f93a39a881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f93a391d078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f93a2a649d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f93a38327b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f93a4412252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f93a4750153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f93a6053ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f93a3b4344f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f93a5477a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f93a3b43923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f93a54779b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f93a3b4302f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f93ab600fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f93aa750e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f93aaa151a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f93a9b30228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f93ab047479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f93aaff493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f93ab0a1f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x00005566200db7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x00005566200def43 (/usr/bin/clang+++0x18f43) #22 0x00007f93aad82739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f93a3912057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f93aad878f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f93aad571b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f93aad57496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f93aad6ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x00005566200e150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f93a2a4f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f93a2a4f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x00005566200d60c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-958ce5.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-958ce5.sh clang-15: note: diagnostic msg: ******************** [163/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007faddfcbc3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007faddfc8b81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007faddfc00078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fadded479d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fadded97d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fadded47926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fadded317fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fadded8bf1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007faddeda1adc (/lib64/libc.so.6+0x92adc) #9 0x00007faddeda392c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007faddeda6263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007faddfdce155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fade6b5290d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fade6b78178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fade6b3f76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fade6b9f666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fade6bb312d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fade6bb3ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fade6bb3e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fade6bc5699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fade6bf9a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fade6b86717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fade6b86c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fade6cb5e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fade6cb6d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fade6cb7037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fade6cbab8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fade6cb5d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fade6b2abb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fade6d20fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fade6b0a5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fade6d896c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fade6d2e8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fade6d307bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fade6d307d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fade6d307d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fade6d34b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #37 0x00007fade6d9e30a (/lib64/libclang-cpp.so.15+0x17d630a) #38 0x00007fade6cf79e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #39 0x00007fade5e13228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #40 0x00007fade732a479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #41 0x00007fade72d793f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #42 0x00007fade7384f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #43 0x00005615402117e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #44 0x0000561540214f43 (/usr/bin/clang+++0x18f43) #45 0x00007fade7065739 (/lib64/libclang-cpp.so.15+0x1a9d739) #46 0x00007faddfbf5057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #47 0x00007fade706a8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #48 0x00007fade703a1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #49 0x00007fade703a496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #50 0x00007fade7051e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #51 0x000056154021750b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #52 0x00007fadded32510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #53 0x00007fadded325c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #54 0x000056154020c0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_linux_libcdep-a19e04.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_linux_libcdep-a19e04.sh clang-15: note: diagnostic msg: ******************** [164/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.x86_64.dir/sanitizer_symbolizer_posix_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector<__sanitizer::Addr2LineProcess *>::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007f95048d03c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f950489f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f9504814078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f950395b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f95039abd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f950395b926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f95039457fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f950399ff1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f95039b5adc (/lib64/libc.so.6+0x92adc) #9 0x00007f95039b792c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f95039ba263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f95049e2155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f950b76690d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f950b78c178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f950b75376b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f950b7b3666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007f950b7c712d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007f950b7c7ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007f950b7c7e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007f950b7d9699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007f950b80da56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007f950b79a717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007f950b79ac21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007f950b8c9e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007f950b8cad49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007f950b8cb037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007f950b8ceb8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007f950b8c9d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007f950b73ebb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007f950b934fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007f950b71e5fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007f950b99d6c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007f950b9428c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007f950b9447bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007f950b9447d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007f950b9447d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007f950b9447d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #37 0x00007f950b9447d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #38 0x00007f950b9447d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #39 0x00007f950b948b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #40 0x00007f950b9b230a (/lib64/libclang-cpp.so.15+0x17d630a) #41 0x00007f950b90b9e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #42 0x00007f950aa27228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #43 0x00007f950bf3e479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #44 0x00007f950beeb93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #45 0x00007f950bf98f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #46 0x0000557069cb97e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #47 0x0000557069cbcf43 (/usr/bin/clang+++0x18f43) #48 0x00007f950bc79739 (/lib64/libclang-cpp.so.15+0x1a9d739) #49 0x00007f9504809057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #50 0x00007f950bc7e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #51 0x00007f950bc4e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #52 0x00007f950bc4e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #53 0x00007f950bc65e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #54 0x0000557069cbf50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #55 0x00007f9503946510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #56 0x00007f95039465c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #57 0x0000557069cb40c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_posix_libcdep-cae295.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_symbolizer_posix_libcdep-cae295.sh clang-15: note: diagnostic msg: ******************** [165/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_linux.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:157:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:21: Generating code for declaration '__sanitizer::ScopedBlockSignals::~ScopedBlockSignals' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux.cpp:183:43: LLVM IR generation of compound statement ('{}') #0 0x00007f580a0043c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f5809fd381f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5809f48078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f580908f9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f58090dfd9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f580908f926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f58090797fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f58090d3f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f58090e9adc (/lib64/libc.so.6+0x92adc) #9 0x00007f58090eb92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f58090ee263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f580a116155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f5810e9a90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f5810ec0178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f5810e8776b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f5810ee454e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f5810efc042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f5810f0d699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f5810f41a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f5810ece717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f5810ecec21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f5810ffde5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f5810ffed49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #23 0x00007f5810fff037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #24 0x00007f5811002b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #25 0x00007f5810ffdd07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #26 0x00007f5810e72bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #27 0x00007f5811068fcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #28 0x00007f5810e525fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #29 0x00007f58110d16c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #30 0x00007f58110768c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #31 0x00007f58110c62f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #32 0x00007f5811063553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #33 0x00007f58110e5ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #34 0x00007f581100dc97 (/lib64/libclang-cpp.so.15+0x16fdc97) #35 0x00007f581015b1ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #36 0x00007f5811672479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #37 0x00007f581161f93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #38 0x00007f58116ccf58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #39 0x000056047fce07e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #40 0x000056047fce3f43 (/usr/bin/clang+++0x18f43) #41 0x00007f58113ad739 (/lib64/libclang-cpp.so.15+0x1a9d739) #42 0x00007f5809f3d057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #43 0x00007f58113b28f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #44 0x00007f58113821b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #45 0x00007f5811382496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #46 0x00007f5811399e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #47 0x000056047fce650b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #48 0x00007f580907a510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #49 0x00007f580907a5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #50 0x000056047fcdb0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_linux-1b29ea.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_linux-1b29ea.sh clang-15: note: diagnostic msg: ******************** [166/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_tls_get_addr.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_tls_get_addr.cpp 1. parser at end of file 2. Optimizer #0 0x00007f57305c03c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f573058f81f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f5730504078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f572f64b9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f5730ff60fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f5730ff9252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f5731337153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f5732c3ace7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f573072a44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f573205ea15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f573072a923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f573205e9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f573072a02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f57381e7fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f5737337e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f57375fc1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f5736717228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f5737c2e479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f5737bdb93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f5737c88f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x000055ef293067e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x000055ef29309f43 (/usr/bin/clang+++0x18f43) #22 0x00007f5737969739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f57304f9057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f573796e8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f573793e1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f573793e496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f5737955e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x000055ef2930c50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f572f636510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f572f6365c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x000055ef293010c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-b4afef.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_tls_get_addr-b4afef.sh clang-15: note: diagnostic msg: ******************** [167/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_thread_registry.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp 1. parser at end of file 2. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:18:11: LLVM IR generation of declaration '__sanitizer' 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:20: Generating code for declaration '__sanitizer::ThreadContextBase::~ThreadContextBase' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:28:41: LLVM IR generation of compound statement ('{}') 5. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_thread_registry.cpp:30:3 : LLVM IR generation of compound statement ('{}') #0 0x00007f0f7e6273c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f0f7e5f681f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f0f7e56b078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f0f7d6b29d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f0f7d702d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007f0f7d6b2926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007f0f7d69c7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007f0f7d6f6f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007f0f7d70cadc (/lib64/libc.so.6+0x92adc) #9 0x00007f0f7d70e92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007f0f7d711263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007f0f7e739155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007f0f854bd90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007f0f854e3178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007f0f854aa76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007f0f8550754e clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType, clang::CodeGen::CGCallee const&, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot, llvm::Value*) (/lib64/libclang-cpp.so.15+0x15d454e) #16 0x00007f0f8551f042 clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ec042) #17 0x00007f0f85530699 (/lib64/libclang-cpp.so.15+0x15fd699) #18 0x00007f0f85564a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #19 0x00007f0f854f1717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #20 0x00007f0f854f1c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #21 0x00007f0f85620e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #22 0x00007f0f85622743 clang::CodeGen::CodeGenFunction::EmitIfStmt(clang::IfStmt const&) (/lib64/libclang-cpp.so.15+0x16ef743) #23 0x00007f0f85621d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #24 0x00007f0f85622037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #25 0x00007f0f85625b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #26 0x00007f0f85620d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #27 0x00007f0f856234d7 clang::CodeGen::CodeGenFunction::EmitDoStmt(clang::DoStmt const&, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f04d7) #28 0x00007f0f85621d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #29 0x00007f0f85622037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #30 0x00007f0f85625b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #31 0x00007f0f85620d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #32 0x00007f0f85495bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #33 0x00007f0f8568bfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #34 0x00007f0f854755fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #35 0x00007f0f856f46c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #36 0x00007f0f856998c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #37 0x00007f0f856e92f7 (/lib64/libclang-cpp.so.15+0x17b62f7) #38 0x00007f0f85686553 clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) (/lib64/libclang-cpp.so.15+0x1753553) #39 0x00007f0f85708ee7 (/lib64/libclang-cpp.so.15+0x17d5ee7) #40 0x00007f0f85630c97 (/lib64/libclang-cpp.so.15+0x16fdc97) #41 0x00007f0f8477e1ab clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b1ab) #42 0x00007f0f85c95479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #43 0x00007f0f85c4293f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #44 0x00007f0f85ceff58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #45 0x00005633579067e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #46 0x0000563357909f43 (/usr/bin/clang+++0x18f43) #47 0x00007f0f859d0739 (/lib64/libclang-cpp.so.15+0x1a9d739) #48 0x00007f0f7e560057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #49 0x00007f0f859d58f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #50 0x00007f0f859a51b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #51 0x00007f0f859a5496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #52 0x00007f0f859bce4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #53 0x000056335790c50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #54 0x00007f0f7d69d510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #55 0x00007f0f7d69d5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #56 0x00005633579010c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-09ef13.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_thread_registry-09ef13.sh clang-15: note: diagnostic msg: ******************** [168/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_termination.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_termination.cpp 1. parser at end of file 2. Optimizer #0 0x00007fc34ada83c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fc34ad7781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fc34acec078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fc349e339d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fc34adda21c llvm::SymbolTableListTraits::addNodeToList(llvm::Instruction*) (/lib64/libLLVM-15.so+0xbd321c) #5 0x00007fc34adda94f (/lib64/libLLVM-15.so+0xbd394f) #6 0x00007fc34d7a39f3 (/lib64/libLLVM-15.so+0x359c9f3) #7 0x00007fc34ae406e6 llvm::DIBuilder::insertDbgIntrinsic(llvm::Function*, llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::BasicBlock*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc396e6) #8 0x00007fc34ae408e0 llvm::DIBuilder::insertDbgValueIntrinsic(llvm::Value*, llvm::DILocalVariable*, llvm::DIExpression*, llvm::DILocation const*, llvm::Instruction*) (/lib64/libLLVM-15.so+0xc398e0) #9 0x00007fc34b78a04c llvm::ConvertDebugDeclareToDebugValue(llvm::DbgVariableIntrinsic*, llvm::PHINode*, llvm::DIBuilder&) (/lib64/libLLVM-15.so+0x158304c) #10 0x00007fc34b7ded12 (/lib64/libLLVM-15.so+0x15d7d12) #11 0x00007fc34b7e1252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #12 0x00007fc34bb1f153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #13 0x00007fc34d422ce7 (/lib64/libLLVM-15.so+0x321bce7) #14 0x00007fc34af1244f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #15 0x00007fc34c846a15 (/lib64/libLLVM-15.so+0x263fa15) #16 0x00007fc34af12923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #17 0x00007fc34c8469b5 (/lib64/libLLVM-15.so+0x263f9b5) #18 0x00007fc34af1202f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #19 0x00007fc3529cffe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #20 0x00007fc351b1fe08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #21 0x00007fc351de41a7 (/lib64/libclang-cpp.so.15+0x17301a7) #22 0x00007fc350eff228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #23 0x00007fc352416479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #24 0x00007fc3523c393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #25 0x00007fc352470f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #26 0x00005566985e17e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #27 0x00005566985e4f43 (/usr/bin/clang+++0x18f43) #28 0x00007fc352151739 (/lib64/libclang-cpp.so.15+0x1a9d739) #29 0x00007fc34ace1057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #30 0x00007fc3521568f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #31 0x00007fc3521261b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #32 0x00007fc352126496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #33 0x00007fc35213de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #34 0x00005566985e750b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #35 0x00007fc349e1e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #36 0x00007fc349e1e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #37 0x00005566985dc0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_termination-910bc4.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_termination-910bc4.sh clang-15: note: diagnostic msg: ******************** [169/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_suppressions.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_suppressions.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fe7e89083c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fe7e88d781f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fe7e884c078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fe7e79939d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fe7e79e3d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fe7e7993926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fe7e797d7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fe7e79d7f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fe7e79edadc (/lib64/libc.so.6+0x92adc) #9 0x00007fe7e79ef92c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fe7e79f2263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fe7e8a1a155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fe7ef79e90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fe7ef7c4178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fe7ef78b76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fe7ef7eb666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fe7ef7ff12d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fe7ef7ffce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fe7ef7ffe9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fe7ef811699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fe7ef845a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fe7ef7d2717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fe7ef7d2c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fe7ef901e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fe7ef902d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fe7ef903037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fe7ef906b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fe7ef901d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fe7ef776bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fe7ef96cfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fe7ef7565fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fe7ef9d56c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fe7ef97a8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fe7ef97c7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fe7ef97c7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fe7ef980b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #36 0x00007fe7ef9ea30a (/lib64/libclang-cpp.so.15+0x17d630a) #37 0x00007fe7ef9439e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #38 0x00007fe7eea5f228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #39 0x00007fe7eff76479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #40 0x00007fe7eff2393f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #41 0x00007fe7effd0f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #42 0x000055b13aa417e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #43 0x000055b13aa44f43 (/usr/bin/clang+++0x18f43) #44 0x00007fe7efcb1739 (/lib64/libclang-cpp.so.15+0x1a9d739) #45 0x00007fe7e8841057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #46 0x00007fe7efcb68f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #47 0x00007fe7efc861b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #48 0x00007fe7efc86496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #49 0x00007fe7efc9de4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #50 0x000055b13aa4750b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #51 0x00007fe7e797e510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #52 0x00007fe7e797e5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #53 0x000055b13aa3c0c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-475c91.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_suppressions-475c91.sh clang-15: note: diagnostic msg: ******************** [170/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_common_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common_libcdep.cpp 1. parser at end of file 2. Optimizer #0 0x00007f7c3f8e13c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f7c3f8b081f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f7c3f825078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f7c3e96c9d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f7c403170fa (/lib64/libLLVM-15.so+0x15d70fa) #5 0x00007f7c4031a252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f7c40658153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f7c41f5bce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f7c3fa4b44f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f7c4137fa15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f7c3fa4b923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f7c4137f9b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f7c3fa4b02f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f7c47508fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f7c46658e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f7c4691d1a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f7c45a38228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f7c46f4f479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f7c46efc93f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f7c46fa9f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000555df460b7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000555df460ef43 (/usr/bin/clang+++0x18f43) #22 0x00007f7c46c8a739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f7c3f81a057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f7c46c8f8f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f7c46c5f1b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f7c46c5f496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f7c46c76e4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000555df461150b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f7c3e957510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f7c3e9575c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000555df46060c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_common_libcdep-44aafc.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_common_libcdep-44aafc.sh clang-15: note: diagnostic msg: ******************** [171/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoHooks.x86_64.dir/sanitizer_platform_limits_posix.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp 1. parser at end of file 2. Optimizer #0 0x00007f1d4e66a3c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007f1d4e63981f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007f1d4e5ae078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007f1d4d6f59d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007f1d4e4c37b7 (/lib64/libLLVM-15.so+0x9fa7b7) #5 0x00007f1d4f0a3252 llvm::PromoteMemToReg(llvm::ArrayRef, llvm::DominatorTree&, llvm::AssumptionCache*) (/lib64/libLLVM-15.so+0x15da252) #6 0x00007f1d4f3e1153 llvm::SROAPass::runImpl(llvm::Function&, llvm::DominatorTree&, llvm::AssumptionCache&) (/lib64/libLLVM-15.so+0x1918153) #7 0x00007f1d50ce4ce7 (/lib64/libLLVM-15.so+0x321bce7) #8 0x00007f1d4e7d444f llvm::PassManager>::run(llvm::Function&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b44f) #9 0x00007f1d50108a15 (/lib64/libLLVM-15.so+0x263fa15) #10 0x00007f1d4e7d4923 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b923) #11 0x00007f1d501089b5 (/lib64/libLLVM-15.so+0x263f9b5) #12 0x00007f1d4e7d402f llvm::PassManager>::run(llvm::Module&, llvm::AnalysisManager&) (/lib64/libLLVM-15.so+0xd0b02f) #13 0x00007f1d56291fe7 (/lib64/libclang-cpp.so.15+0x231bfe7) #14 0x00007f1d553e1e08 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr>) (/lib64/libclang-cpp.so.15+0x146be08) #15 0x00007f1d556a61a7 (/lib64/libclang-cpp.so.15+0x17301a7) #16 0x00007f1d547c1228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #17 0x00007f1d55cd8479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #18 0x00007f1d55c8593f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #19 0x00007f1d55d32f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #20 0x0000561c762a57e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #21 0x0000561c762a8f43 (/usr/bin/clang+++0x18f43) #22 0x00007f1d55a13739 (/lib64/libclang-cpp.so.15+0x1a9d739) #23 0x00007f1d4e5a3057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #24 0x00007f1d55a188f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #25 0x00007f1d559e81b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #26 0x00007f1d559e8496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #27 0x00007f1d559ffe4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #28 0x0000561c762ab50b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #29 0x00007f1d4d6e0510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #30 0x00007f1d4d6e05c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #31 0x0000561c762a00c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-823f5c.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_platform_limits_posix-823f5c.sh clang-15: note: diagnostic msg: ******************** [172/862] /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp FAILED: lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp free(): invalid pointer PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__func__=__FUNCTION__ -I/builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/.. -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -O2 -g -DNDEBUG -m64 -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -DSANITIZER_SUPPORTS_WEAK_HOOKS=0 -MD -MT lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -MF lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o.d -o lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibcNoHooks.x86_64.dir/sanitizer_linux_libcdep.cpp.o -c /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_linux_libcdep.cpp 1. parser at end of file 2. Per-file LLVM IR generation 3. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:3: Generating code for declaration '__sanitizer::InternalMmapVector::~InternalMmapVector' 4. /builddir/build/BUILD/compiler-rt-15.0.7.src/lib/sanitizer_common/sanitizer_common.h:618:25: LLVM IR generation of compound statement ('{}') #0 0x00007fca0eba93c5 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-15.so+0xba13c5) #1 0x00007fca0eb7881f llvm::sys::RunSignalHandlers() (/lib64/libLLVM-15.so+0xb7081f) #2 0x00007fca0eaed078 (/lib64/libLLVM-15.so+0xae5078) #3 0x00007fca0dc349d0 __restore_rt (/lib64/libc.so.6+0x389d0) #4 0x00007fca0dc84d9c __pthread_kill_implementation (/lib64/libc.so.6+0x88d9c) #5 0x00007fca0dc34926 gsignal (/lib64/libc.so.6+0x38926) #6 0x00007fca0dc1e7fc abort (/lib64/libc.so.6+0x227fc) #7 0x00007fca0dc78f1e __libc_message (/lib64/libc.so.6+0x7cf1e) #8 0x00007fca0dc8eadc (/lib64/libc.so.6+0x92adc) #9 0x00007fca0dc9092c _int_free (/lib64/libc.so.6+0x9492c) #10 0x00007fca0dc93263 cfree@GLIBC_2.2.5 (/lib64/libc.so.6+0x97263) #11 0x00007fca0ecbb155 llvm::LandingPadInst::addClause(llvm::Constant*) (/lib64/libLLVM-15.so+0xcb3155) #12 0x00007fca15a3f90d (/lib64/libclang-cpp.so.15+0x158a90d) #13 0x00007fca15a65178 clang::CodeGen::CodeGenFunction::getInvokeDestImpl() (/lib64/libclang-cpp.so.15+0x15b0178) #14 0x00007fca15a2c76b clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, llvm::CallBase**, bool, clang::SourceLocation) (/lib64/libclang-cpp.so.15+0x157776b) #15 0x00007fca15a8c666 clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorCall(clang::CXXMethodDecl const*, clang::CodeGen::CGCallee const&, clang::CodeGen::ReturnValueSlot, llvm::Value*, llvm::Value*, clang::QualType, clang::CallExpr const*, clang::CodeGen::CallArgList*) (/lib64/libclang-cpp.so.15+0x15d7666) #16 0x00007fca15aa012d clang::CodeGen::CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(clang::CallExpr const*, clang::CXXMethodDecl const*, clang::CodeGen::ReturnValueSlot, bool, clang::NestedNameSpecifier*, bool, clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15eb12d) #17 0x00007fca15aa0ce0 clang::CodeGen::CodeGenFunction::EmitCXXMemberCallExpr(clang::CXXMemberCallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebce0) #18 0x00007fca15aa0e9c clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*, clang::CodeGen::ReturnValueSlot) (/lib64/libclang-cpp.so.15+0x15ebe9c) #19 0x00007fca15ab2699 (/lib64/libclang-cpp.so.15+0x15fd699) #20 0x00007fca15ae6a56 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) (/lib64/libclang-cpp.so.15+0x1631a56) #21 0x00007fca15a73717 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) (/lib64/libclang-cpp.so.15+0x15be717) #22 0x00007fca15a73c21 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) (/lib64/libclang-cpp.so.15+0x15bec21) #23 0x00007fca15ba2e5a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16ede5a) #24 0x00007fca15ba3d49 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16eed49) #25 0x00007fca15ba4037 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) (/lib64/libclang-cpp.so.15+0x16ef037) #26 0x00007fca15ba7b8a clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16f2b8a) #27 0x00007fca15ba2d07 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef) (/lib64/libclang-cpp.so.15+0x16edd07) #28 0x00007fca15a17bb3 clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&) (/lib64/libclang-cpp.so.15+0x1562bb3) #29 0x00007fca15c0dfcd clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) (/lib64/libclang-cpp.so.15+0x1758fcd) #30 0x00007fca159f75fd clang::CodeGen::CodeGenModule::codegenCXXStructor(clang::GlobalDecl) (/lib64/libclang-cpp.so.15+0x15425fd) #31 0x00007fca15c766c9 (/lib64/libclang-cpp.so.15+0x17c16c9) #32 0x00007fca15c1b8c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) (/lib64/libclang-cpp.so.15+0x17668c3) #33 0x00007fca15c1d7bb clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687bb) #34 0x00007fca15c1d7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #35 0x00007fca15c1d7d3 clang::CodeGen::CodeGenModule::EmitDeferred() (/lib64/libclang-cpp.so.15+0x17687d3) #36 0x00007fca15c21b2e clang::CodeGen::CodeGenModule::Release() (/lib64/libclang-cpp.so.15+0x176cb2e) #37 0x00007fca15c8b30a (/lib64/libclang-cpp.so.15+0x17d630a) #38 0x00007fca15be49e4 (/lib64/libclang-cpp.so.15+0x172f9e4) #39 0x00007fca14d00228 clang::ParseAST(clang::Sema&, bool, bool) (/lib64/libclang-cpp.so.15+0x84b228) #40 0x00007fca16217479 clang::FrontendAction::Execute() (/lib64/libclang-cpp.so.15+0x1d62479) #41 0x00007fca161c493f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/lib64/libclang-cpp.so.15+0x1d0f93f) #42 0x00007fca16271f58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/lib64/libclang-cpp.so.15+0x1dbcf58) #43 0x000055a9e4e7a7e4 cc1_main(llvm::ArrayRef, char const*, void*) (/usr/bin/clang+++0x157e4) #44 0x000055a9e4e7df43 (/usr/bin/clang+++0x18f43) #45 0x00007fca15f52739 (/lib64/libclang-cpp.so.15+0x1a9d739) #46 0x00007fca0eae2057 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/lib64/libLLVM-15.so+0xada057) #47 0x00007fca15f578f1 (/lib64/libclang-cpp.so.15+0x1aa28f1) #48 0x00007fca15f271b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/lib64/libclang-cpp.so.15+0x1a721b0) #49 0x00007fca15f27496 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const (/lib64/libclang-cpp.so.15+0x1a72496) #50 0x00007fca15f3ee4c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) (/lib64/libclang-cpp.so.15+0x1a89e4c) #51 0x000055a9e4e8050b clang_main(int, char**) (/usr/bin/clang+++0x1b50b) #52 0x00007fca0dc1f510 __libc_start_call_main (/lib64/libc.so.6+0x23510) #53 0x00007fca0dc1f5c9 __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x235c9) #54 0x000055a9e4e750c5 _start (/usr/bin/clang+++0x100c5) clang-15: error: clang frontend command failed with exit code 134 (use -v to see invocation) clang version 15.0.7 (anolis os 15.0.7-1.an23) Target: x86_64-Anolis-linux Thread model: posix InstalledDir: /usr/bin Configuration file: /usr/lib/rpm/anolis/anolis-hardened-clang.cfg clang-15: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-15: note: diagnostic msg: /tmp/sanitizer_linux_libcdep-9e36ec.cpp clang-15: note: diagnostic msg: /tmp/sanitizer_linux_libcdep-9e36ec.sh clang-15: note: diagnostic msg: ******************** ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.phlRG5 (%build) bad date in %changelog: Sun Jul 31 happy_orange - 13.0.1-1 Bad exit status from /var/tmp/rpm-tmp.phlRG5 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/compiler-rt.spec