Running build script with Sanitizer on a NUC

MY PC: Intel NUC12WSBv7, 12th Gen Intel(R) Core(TM) i7-1270P, 2x32GB RAM

#!/bin/env bash

source ./oaienv

# set clang as compiler
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

#( cd cmake_targets && ./build_oai --clean --ninja --phy_simulators --eNB --gNB --UE --nrUE )
( cd cmake_targets && ./build_oai --clean --ninja --sanitize-address --phy_simulators --eNB --gNB --UE --nrUE )

A successful run (1/10 runs)

./build.sh
Will compile dlsim, ulsim, ...
Will compile eNB
Will compile gNB
Will compile UE
Will compile NR UE
OPENAIR_DIR    = /home/hhi/2025/GIT/oai_review
Running "cmake -GNinja -DSANITIZE_ADDRESS=True ../../.."
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- 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
-- Found ccache in /usr/bin/ccache. Using ccache. CMake >= 3.4
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Check if /opt/asn1c/bin/asn1c supports -gen-APER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-UPER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-JER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-BER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-OER
-- CMAKE_BUILD_TYPE is RelWithDebInfo
-- CPU architecture is x86_64
-- AVX512 intrinsics are OFF
-- AVX2 intrinsics are ON
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Selected E2AP_VERSION: E2AP_V2
-- Selected KPM Version: KPM_V2_03
-- Checking for module 'libconfig'
--   Found libconfig, version 1.5
-- LTTNG support disabled
-- Checking for module 'libcap'
--   No package 'libcap' found
-- Checking for module 'openssl'
--   Found openssl, version 3.0.2
-- Checking for module 'blas'
--   Found blas, version 3.10.0
-- Checking for module 'lapacke'
--   Found lapacke, version 3.10.0
-- Checking for module 'cblas'
--   No package 'cblas' found
-- No Doxygen documentation requested
-- No Support for Aerial
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build
Running "cmake --build .  --target  dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim nr_psbchsim lte-softmodem nr-softmodem nr-cuup lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator dfts params_yaml vrtsim -- -j16"
Log file for compilation is being written to: /home/hhi/2025/GIT/oai_review/cmake_targets/log/all.txt
 dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim nr_psbchsim lte-softmodem nr-softmodem nr-cuup lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator dfts params_yaml vrtsim compiled
Compiling UE specific part
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'libconfig'
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    SANITIZE_ADDRESS


-- Build files have been written to: /home/hhi/2025/GIT/oai_review/cmake_targets/nas_sim_tools/build
cd /home/hhi/2025/GIT/oai_review/cmake_targets/nas_sim_tools/build
Running "cmake --build .  --target usim -- -j16"
Log file for compilation is being written to: /home/hhi/2025/GIT/oai_review/cmake_targets/log/usim.txt
usim compiled
cd /home/hhi/2025/GIT/oai_review/cmake_targets/nas_sim_tools/build
Running "cmake --build .  --target nvram -- -j16"
Log file for compilation is being written to: /home/hhi/2025/GIT/oai_review/cmake_targets/log/nvram.txt
nvram compiled
cd /home/hhi/2025/GIT/oai_review/cmake_targets/nas_sim_tools/build
Running "cmake --build .  --target conf2uedata -- -j16"
Log file for compilation is being written to: /home/hhi/2025/GIT/oai_review/cmake_targets/log/conf2uedata.txt
conf2uedata compiled
generate .ue_emm.nvram .ue.nvram
generate .usim.nvram
BUILD SHOULD BE SUCCESSFUL

An unsuccessful run (9/10 runs)

./build.sh
Will compile dlsim, ulsim, ...
Will compile eNB
Will compile gNB
Will compile UE
Will compile NR UE
OPENAIR_DIR    = /home/hhi/2025/GIT/oai_review
Running "cmake -GNinja -DSANITIZE_ADDRESS=True ../../.."
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- 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
-- Found ccache in /usr/bin/ccache. Using ccache. CMake >= 3.4
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Check if /opt/asn1c/bin/asn1c supports -gen-APER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-UPER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-JER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-BER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-OER
-- CMAKE_BUILD_TYPE is RelWithDebInfo
-- CPU architecture is x86_64
-- AVX512 intrinsics are OFF
-- AVX2 intrinsics are ON
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Selected E2AP_VERSION: E2AP_V2
-- Selected KPM Version: KPM_V2_03
-- Checking for module 'libconfig'
--   Found libconfig, version 1.5
-- LTTNG support disabled
-- Checking for module 'libcap'
--   No package 'libcap' found
-- Checking for module 'openssl'
--   Found openssl, version 3.0.2
-- Checking for module 'blas'
--   Found blas, version 3.10.0
-- Checking for module 'lapacke'
--   Found lapacke, version 3.10.0
-- Checking for module 'cblas'
--   No package 'cblas' found
-- No Doxygen documentation requested
-- No Support for Aerial
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build
Running "cmake --build .  --target  dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim nr_psbchsim lte-softmodem nr-softmodem nr-cuup lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator dfts params_yaml vrtsim -- -j16"
Log file for compilation is being written to: /home/hhi/2025/GIT/oai_review/cmake_targets/log/all.txt
compilation of  dlsim ulsim ldpctest polartest smallblocktest nr_pbchsim nr_dlschsim nr_ulschsim nr_dlsim nr_ulsim nr_pucchsim nr_prachsim nr_psbchsim lte-softmodem nr-softmodem nr-cuup lte-uesoftmodem nr-uesoftmodem params_libconfig coding rfsimulator dfts params_yaml vrtsim failed
build have failed
sudo dmesg
[1782183.555294] signal: bnProc_gen_avx2[3187589] overflowed sigaltstack
[1782183.558319] signal: genids[3187599] overflowed sigaltstack
[1782183.569799] signal: bnProc_gen_128[3187614] overflowed sigaltstack
[1782183.575189] signal: bnProc_gen_avx5[3187630] overflowed sigaltstack
tail -f cmake_targets/log/all.txt
...
Copied /opt/asn1c/share/asn1c/OCTET_STRING_rfill.c      -> /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/OCTET_STRING_rfill.c
Copied /opt/asn1c/share/asn1c/UTF8String_rfill.c        -> /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/UTF8String_rfill.c
Copied /opt/asn1c/share/asn1c/constr_CHOICE_rfill.c     -> /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/constr_CHOICE_rfill.c
Copied /opt/asn1c/share/asn1c/constr_SEQUENCE_rfill.c   -> /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/constr_SEQUENCE_rfill.c
Copied /opt/asn1c/share/asn1c/constr_SET_OF_rfill.c     -> /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/constr_SET_OF_rfill.c
Generated /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/openair2/F1AP/MESSAGES/Makefile.am.libasncodec
Generated F1AP_asn_constant.h
ninja: build stopped: subcommand failed.

running cmake --build ./cmake_targets/ran_build/build/ --target ldpc_generators here again and again will end up in different results:

cmake --build ./cmake_targets/ran_build/build/ --target ldpc_generators
[1/2] Generating LDPC cnProc header files for 128-bit SIMD
FAILED: ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R13_128.h ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R23_128.h ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R89_128.h ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R13_128.h ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R15_128.h ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG1_R89_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R15_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc/nrLDPC_cnProc_BG2_R23_128.h
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc && /usr/bin/cmake -E make_directory cnProc128 && /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_cnProc/cnProc_gen_128 .
Segmentation fault (core dumped)
[2/2] Generating LDPC bnProc header files for 128-bit SIMD
FAILED: ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_128.h
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc && /usr/bin/cmake -E make_directory bnProc128 && /usr/bin/cmake -E make_directory bnProcPc128 && /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc_gen_128 .
Segmentation fault (core dumped)
ninja: build stopped: subcommand failed.
cmake --build ./cmake_targets/ran_build/build/ --target ldpc_generators
[3/4] Generating LDPC bnProc header files for AVX2
FAILED: ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_AVX2.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_AVX2.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_AVX2.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_AVX2.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_AVX2.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_AVX2.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_AVX2.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_AVX2.h
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc && /usr/bin/cmake -E make_directory bnProc && /usr/bin/cmake -E make_directory bnProcPc && /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc_gen_avx2 .
Segmentation fault (core dumped)
[4/4] Generating LDPC bnProc header files for 128-bit SIMD
FAILED: ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_128.h ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_128.h ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG1_R89_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R15_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc/nrLDPC_bnProc_BG2_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R23_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG1_R89_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R13_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R15_128.h /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProcPc/nrLDPC_bnProcPc_BG2_R23_128.h
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc && /usr/bin/cmake -E make_directory bnProc128 && /usr/bin/cmake -E make_directory bnProcPc128 && /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/ldpc/generator_bnProc/bnProc_gen_128 .
Segmentation fault (core dumped)
ninja: build stopped: subcommand failed.
cmake --build ./cmake_targets/ran_build/build/ --target ldpc_generators
[3/3] Generating LDPC bnProc header files for AVX2

same with running cmake --build ./cmake_targets/ran_build/build/ --target generate_T:

cmake --build ./cmake_targets/ran_build/build/ --target generate_T
[1/1] Checking validity of VCD files
FAILED:common/utils/T/CMakeFiles/check_vcd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/common/utils/T/CMakeFiles/check_vcd
cd /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/common/utils/T && /home/hhi/2025/GIT/oai_review/cmake_targets/ran_build/build/common/utils/T/_check_vcd /home/hhi/2025/GIT/oai_review/common/utils/T/T_messages.txt /home/hhi/2025/GIT/oai_review/common/utils/T/../LOG/vcd_signal_dumper.h
Segmentation fault (core dumped)
ninja: build stopped: subcommand failed.
cmake --build ./cmake_targets/ran_build/build/ --target generate_T
[6/6] Checking validity of VCD files

Running the build_oai script several times without --clean will end up in an successful build ( cd cmake_targets && ./build_oai --ninja --sanitize-address --phy_simulators --eNB --gNB --UE --nrUE )