When I try to compile this repo, I get a segmentation fault error on all of them, regardless of Ubuntu 22 or Ubuntu 24 (arm64 or x86). How can I solve the problem?
build_segfault_error.txt
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ docker pull --platform linux/arm64 arm64v8/ubuntu:22.04
22.04: Pulling from arm64v8/ubuntu
Digest: sha256:fc9b1e380141c6e08655726e230ec1babc597bba86854c4fec62dde9485f9315
Status: Image is up to date for arm64v8/ubuntu:22.04
docker.io/arm64v8/ubuntu:22.04
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ mkdir -p ~/bin
PATH="${HOME}/bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+rx ~/bin/repo
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 44950 100 44950 0 0 154k 0 --:--:-- --:--:-- --:--:-- 155k
[sudo] password for ubuntu:
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ BASE_IMAGE=ubuntu:22.04 ./init_setup.sh
....
....
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ ./qemu_init.sh
Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
Setting /usr/bin/qemu-hexagon-static as binfmt interpreter for hexagon
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ BASE_IMAGE=ubuntu:22.04 ./docker_build.sh
DOCKER_TAG = vision-apps-builder:10.1.0-arm64-ubuntu20.04
BASE_IMAGE = arm64v8/ubuntu:20.04
USE_PROXY = 0
[+] Building 0.1s (19/19) FINISHED docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 4.14kB 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 9) 0.0s
=> WARN: InvalidDefaultArgInFrom: Default value for ARG base-${USE_PROXY} results in empty or invalid base image name (line 20) 0.0s
=> [internal] load metadata for docker.io/arm64v8/ubuntu:20.04 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 49B 0.0s
=> [base-0 1/1] FROM docker.io/arm64v8/ubuntu:20.04 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 94B 0.0s
=> CACHED [stage-2 1/13] ADD setup_proxy.sh /root/ 0.0s
=> CACHED [stage-2 2/13] ADD proxy /root/proxy 0.0s
=> CACHED [stage-2 3/13] RUN /root/setup_proxy.sh 0.0s
=> CACHED [stage-2 4/13] RUN apt-get update && apt-get install -y --no-install-recommends wget vim tmux gdb 0.0s
=> CACHED [stage-2 5/13] RUN apt-get update && apt-get install -y --no-install-recommends unzip build-essential git 0.0s
=> CACHED [stage-2 6/13] RUN apt-get update && apt-get install -y --no-install-recommends mono-runtime cmake ninja- 0.0s
=> CACHED [stage-2 7/13] RUN if [ "arm64" = "arm64" ]; then apt-get update && apt-get install -y --no-install-recommend 0.0s
=> CACHED [stage-2 8/13] WORKDIR /opt 0.0s
=> CACHED [stage-2 9/13] RUN if [ "arm64" = "arm64" ]; then git clone git://git.ti.com/rpmsg/ti-rpmsg-char.git --branch 0.6 0.0s
=> CACHED [stage-2 10/13] COPY entrypoint.sh /root/entrypoint.sh 0.0s
=> CACHED [stage-2 11/13] WORKDIR /root 0.0s
=> CACHED [stage-2 12/13] RUN echo "if [ -n "$BASH_VERSION" ]; then" > .profile && echo " # include .bashrc if it ex 0.0s
=> CACHED [stage-2 13/13] WORKDIR /opt/psdk-rtos 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:6728935d40f9d739e609a323dc84f6fffacc23f14323444c68fb19163f108fe4 0.0s
=> => naming to docker.io/library/vision-apps-builder:10.1.0-arm64-ubuntu20.04 0.0s
2 warnings found (use docker --debug to expand):
- InvalidDefaultArgInFrom: Default value for ARG base-${USE_PROXY} results in empty or invalid base image name (line 20)
- InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 9)
Docker build -t vision-apps-builder:10.1.0-arm64-ubuntu20.04 completed!
0 minutes and 0 seconds elapsed.
ubuntu@ubuntu:edgeai-vision-apps-lib-build$ BASE_IMAGE=ubuntu:22.04 ./docker_run.sh
DOCKER_TAG = vision-apps-builder:10.1.0-arm64-ubuntu22.04
WARNING: The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
aarch64
DISTRO_VER=22.04
ubuntu:22.04
Some headers copied from targetfs.
root@docker:/opt/psdk-rtos/workarea/sdk_builder$ SOC=j722s GCC_LINUX_ARM_ROOT=/usr CROSS_COMPILE_LINARO= LINUX_SYSROOT_ARM=/ LINUX_FS_PATH=/ TREAT_WARNINGS_AS_ERROR=0 make yocto_build
cp -Rf /opt/psdk-rtos/workarea/psdk_include/* /opt/psdk-rtos/workarea/.
PROFILE=release BUILD_EMULATION_MODE=no TARGET_CPU=A53 TARGET_OS=LINUX TIDL_PATH=/opt/psdk-rtos/workarea/tidl_j7 /usr/bin/make app_utils
make[1]: Entering directory '/opt/psdk-rtos/workarea/sdk_builder'
/usr/bin/make -C /opt/psdk-rtos/workarea/app_utils
make[2]: Entering directory '/opt/psdk-rtos/workarea/app_utils'
SHELL=/bin/sh
TARGET_MAKEFILES=utils/console_io/src/concerto.mak utils/file_io/src/concerto.mak utils/ipc/src/concerto.mak utils/mem/src/concerto.mak utils/misc/src/concerto.mak utils/perf_stats/src/concerto.mak utils/remote_service/src/concerto.mak utils/rtos/src/concerto.mak utils/sciclient/src/concerto.mak utils/timer/src/concerto.mak utils/udma/src/concerto.mak
Keep only LINUX OS in TARGET_COMBOS
Keep only A53 CPU in TARGET_COMBOS
undefined TIARMCGT_ROOT=
file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_3.2.2.LTS
undefined GCC_SYSBIOS_ARM_ROOT=
file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_4.1.0.LTS
undefined GCC_WINDOWS_ROOT=
file GCC_LINUX_ROOT=/usr/
environment GCC_QNX_ROOT=/root/qnx800/host/linux/x86_64/usr/bin
#######################################################################
TARGET_COMBO=J722S:LINUX:A53:1:release:GCC_LINUX_ARM
Copying built libraries: /opt/psdk-rtos/workarea/app_utils/out/J722S/A53/LINUX/release to /opt/psdk-rtos/workarea/app_utils/lib/J722S/A53/LINUX/release
make[2]: Leaving directory '/opt/psdk-rtos/workarea/app_utils'
make[1]: Leaving directory '/opt/psdk-rtos/workarea/sdk_builder'
PROFILE=release BUILD_EMULATION_MODE=no TARGET_CPU=A53 TARGET_OS=LINUX TIDL_PATH=/opt/psdk-rtos/workarea/tidl_j7 /usr/bin/make imaging
make[1]: Entering directory '/opt/psdk-rtos/workarea/sdk_builder'
/usr/bin/make -C /opt/psdk-rtos/workarea/imaging
make[2]: Entering directory '/opt/psdk-rtos/workarea/imaging'
SHELL=/bin/sh
TARGET_MAKEFILES=./algos/ae/src/concerto.mak ./algos/dcc/src/concerto.mak ./itt_server_remote/src/concerto.mak ./kernels/aewb/arm/concerto.mak ./kernels/aewb/host/concerto.mak ./kernels/aewb/test/concerto.mak ./kernels/hwa/arm/concerto.mak ./kernels/hwa/dmpac_dof/concerto.mak ./kernels/hwa/dmpac_sde/concerto.mak ./kernels/hwa/host/concerto.mak ./kernels/hwa/test/concerto.mak ./kernels/hwa/vpac_ldc/concerto.mak ./kernels/hwa/vpac_msc/concerto.mak ./kernels/hwa/vpac_nf/concerto.mak ./kernels/hwa/vpac_viss/concerto.mak ./sensor_drv/src/concerto.mak ./ti_2a_wrapper/src/concerto.mak ./utils/hwa/src/concerto.mak ./utils/iss/src/concerto.mak ./utils/itt_server/src/concerto.mak ./utils/network_api/src/concerto.mak ./utils/sensors/src/concerto.mak
Keep only LINUX OS in TARGET_COMBOS
Keep only A53 CPU in TARGET_COMBOS
undefined TIARMCGT_ROOT=
file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_3.2.2.LTS
undefined GCC_SYSBIOS_ARM_ROOT=
file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_4.1.0.LTS
undefined GCC_WINDOWS_ROOT=
file GCC_LINUX_ROOT=/usr/
environment GCC_QNX_ROOT=/root/qnx800/host/linux/x86_64/usr/bin
#######################################################################
TARGET_COMBO=J722S:LINUX:A53:1:release:GCC_LINUX_ARM
Build Skipped for sensor_drv.src.J722S.LINUX.A53.release:ti_imaging_sensordrv
Copying Prebuilt libs from prebuilt_libs to lib
[GCC] Compiling C99 vx_aewb_target.c
[GCC] Compiling C99 vx_kernels_imaging_target.c
Linking /opt/psdk-rtos/workarea/imaging/out/J722S/A53/LINUX/release/libvx_target_kernels_imaging_aewb.a
Copying built libraries: /opt/psdk-rtos/workarea/imaging/out/J722S/A53/LINUX/release to /opt/psdk-rtos/workarea/imaging/lib/J722S/A53/LINUX/release
make[2]: Leaving directory '/opt/psdk-rtos/workarea/imaging'
make[1]: Leaving directory '/opt/psdk-rtos/workarea/sdk_builder'
PROFILE=release BUILD_EMULATION_MODE=no TARGET_CPU=A53 TARGET_OS=LINUX TIDL_PATH=/opt/psdk-rtos/workarea/tidl_j7 /usr/bin/make video_io
make[1]: Entering directory '/opt/psdk-rtos/workarea/sdk_builder'
/usr/bin/make -C /opt/psdk-rtos/workarea/video_io RTOS_SDK=mcu_plus_sdk
make[2]: Entering directory '/opt/psdk-rtos/workarea/video_io'
SHELL=/bin/sh
TARGET_MAKEFILES=kernels/video_io/capture/concerto.mak kernels/video_io/csitx/concerto.mak kernels/video_io/display/concerto.mak kernels/video_io/display_m2m/concerto.mak kernels/video_io/host/concerto.mak kernels/video_io/test/concerto.mak
Keep only LINUX OS in TARGET_COMBOS
Keep only A53 CPU in TARGET_COMBOS
undefined TIARMCGT_ROOT=
file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_3.2.2.LTS
undefined GCC_SYSBIOS_ARM_ROOT=
file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_4.1.0.LTS
undefined GCC_WINDOWS_ROOT=
file GCC_LINUX_ROOT=/usr/
environment GCC_QNX_ROOT=/root/qnx800/host/linux/x86_64/usr/bin
#######################################################################
TARGET_COMBO=J722S:LINUX:A53:1:release:GCC_LINUX_ARM
[GCC] Compiling C99 test_capture.c
[GCC] Compiling C99 test_capture_splitMode.c
[GCC] Compiling C99 test_display.c
[GCC] Compiling C99 test_display_buffer_BGR888.c
[GCC] Compiling C99 test_display_buffer_YUV420_NV12.c
[GCC] Compiling C99 test_display_buffer_YUV422_YUYV.c
[GCC] Compiling C99 test_display_m2m.c
[GCC] Compiling C99 test_video_io_common.c
Linking /opt/psdk-rtos/workarea/video_io/out/J722S/A53/LINUX/release/libvx_kernels_video_io_tests.a
Copying built libraries: /opt/psdk-rtos/workarea/video_io/out/J722S/A53/LINUX/release to /opt/psdk-rtos/workarea/video_io/lib/J722S/A53/LINUX/release
make[2]: Leaving directory '/opt/psdk-rtos/workarea/video_io'
make[1]: Leaving directory '/opt/psdk-rtos/workarea/sdk_builder'
PROFILE=release BUILD_EMULATION_MODE=no TARGET_CPU=A53 TARGET_OS=LINUX TIDL_PATH=/opt/psdk-rtos/workarea/tidl_j7 /usr/bin/make tiovx
make[1]: Entering directory '/opt/psdk-rtos/workarea/sdk_builder'
/usr/bin/make -C /opt/psdk-rtos/workarea/tiovx RTOS_SDK=mcu_plus_sdk vision_apps_utils
make[2]: Entering directory '/opt/psdk-rtos/workarea/tiovx'
SHELL=/bin/sh
TARGET_MAKEFILES=conformance_tests/kernels/test_kernels/arm/concerto.mak conformance_tests/kernels/test_kernels/c66/concerto.mak conformance_tests/kernels/test_kernels/host/concerto.mak conformance_tests/kernels/test_kernels/test/concerto.mak conformance_tests/test_conformance/concerto.mak conformance_tests/test_conformance/test_module/concerto.mak conformance_tests/test_engine/concerto.mak conformance_tests/test_executable/concerto.mak conformance_tests/test_internal/concerto.mak conformance_tests/test_tiovx/concerto.mak kernels/common/host/concerto.mak kernels/common/target/concerto.mak kernels/ivision/common/concerto.mak kernels/openvx-core/c66x/bam/concerto.mak kernels/openvx-core/c66x/concerto.mak kernels/openvx-core/host/concerto.mak kernels/openvx-ext/host/concerto.mak kernels/openvx-ext/target/concerto.mak kernels/openvx-ext/test/concerto.mak source/framework/concerto.mak source/platform/pc/linux/concerto.mak source/platform/pc/windows/concerto.mak source/platform/psdk_j7/hlos/concerto.mak source/platform/psdk_j7/rtos/concerto.mak source/vxu/concerto.mak tools/sample_use_cases/concerto.mak tutorial/ch00_main/concerto.mak tutorial/ch03_graph/c66x/concerto.mak tutorial/concerto.mak utils/source/concerto.mak
Keep only LINUX OS in TARGET_COMBOS
Keep only A53 CPU in TARGET_COMBOS
undefined TIARMCGT_ROOT=
file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_3.2.2.LTS
undefined GCC_SYSBIOS_ARM_ROOT=
file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_4.1.0.LTS
undefined GCC_WINDOWS_ROOT=
file GCC_LINUX_ROOT=/usr/
environment GCC_QNX_ROOT=/root/qnx800/host/linux/x86_64/usr/bin
#######################################################################
TARGET_COMBO=J722S:LINUX:A53:1:release:GCC_LINUX_ARM
make[2]: Nothing to be done for 'vision_apps_utils'.
make[2]: Leaving directory '/opt/psdk-rtos/workarea/tiovx'
/usr/bin/make -C /opt/psdk-rtos/workarea/tiovx RTOS_SDK=mcu_plus_sdk
make[2]: Entering directory '/opt/psdk-rtos/workarea/tiovx'
SHELL=/bin/sh
TARGET_MAKEFILES=conformance_tests/kernels/test_kernels/arm/concerto.mak conformance_tests/kernels/test_kernels/c66/concerto.mak conformance_tests/kernels/test_kernels/host/concerto.mak conformance_tests/kernels/test_kernels/test/concerto.mak conformance_tests/test_conformance/concerto.mak conformance_tests/test_conformance/test_module/concerto.mak conformance_tests/test_engine/concerto.mak conformance_tests/test_executable/concerto.mak conformance_tests/test_internal/concerto.mak conformance_tests/test_tiovx/concerto.mak kernels/common/host/concerto.mak kernels/common/target/concerto.mak kernels/ivision/common/concerto.mak kernels/openvx-core/c66x/bam/concerto.mak kernels/openvx-core/c66x/concerto.mak kernels/openvx-core/host/concerto.mak kernels/openvx-ext/host/concerto.mak kernels/openvx-ext/target/concerto.mak kernels/openvx-ext/test/concerto.mak source/framework/concerto.mak source/platform/pc/linux/concerto.mak source/platform/pc/windows/concerto.mak source/platform/psdk_j7/hlos/concerto.mak source/platform/psdk_j7/rtos/concerto.mak source/vxu/concerto.mak tools/sample_use_cases/concerto.mak tutorial/ch00_main/concerto.mak tutorial/ch03_graph/c66x/concerto.mak tutorial/concerto.mak utils/source/concerto.mak
Keep only LINUX OS in TARGET_COMBOS
Keep only A53 CPU in TARGET_COMBOS
undefined TIARMCGT_ROOT=
file TIARMCGT_LLVM_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-armllvm_3.2.2.LTS
undefined GCC_SYSBIOS_ARM_ROOT=
file CGT6X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c6000_8.3.7
file CGT7X_ROOT=$(PSDK_TOOLS_PATH)/ti-cgt-c7000_4.1.0.LTS
undefined GCC_WINDOWS_ROOT=
file GCC_LINUX_ROOT=/usr/
environment GCC_QNX_ROOT=/root/qnx800/host/linux/x86_64/usr/bin
#######################################################################
TARGET_COMBO=J722S:LINUX:A53:1:release:GCC_LINUX_ARM
Copying Prebuilt libs from prebuilt_libs to lib
[GCC] Compiling C99 vx_cmd_timeout_test_target.c
[GCC] Compiling C99 vx_image_intermediate_target.c
[GCC] Compiling C99 vx_kernels_capture_target.c
[GCC] Compiling C99 vx_kernels_test_kernels_target.c
[GCC] Compiling C99 vx_not_not_target.c
[GCC] Compiling C99 vx_pyramid_intermediate_target.c
[GCC] Compiling C99 vx_pyramid_sink_target.c
[GCC] Compiling C99 vx_pyramid_source_target.c
[GCC] Compiling C99 vx_scalar_intermediate_2_target.c
[GCC] Compiling C99 vx_scalar_intermediate_target.c
[GCC] Compiling C99 vx_scalar_sink2_target.c
[GCC] Compiling C99 vx_scalar_sink_obj_array_target.c
[GCC] Compiling C99 vx_scalar_sink_target.c
[GCC] Compiling C99 vx_scalar_source2_target.c
[GCC] Compiling C99 vx_scalar_source_error_target.c
[GCC] Compiling C99 vx_scalar_source_obj_array_target.c
[GCC] Compiling C99 vx_scalar_source_target.c
[GCC] Compiling C99 vx_test_target_target.c
[GCC] Compiling C99 vx_tiovx_overhead_target.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_target_kernels_source_sink.a
[GCC] Compiling C99 tivx_test_kernels_node_api.c
[GCC] Compiling C99 vx_cmd_timeout_test_host.c
[GCC] Compiling C99 vx_image_intermediate_host.c
[GCC] Compiling C99 vx_kernels_test_kernels_host.c
[GCC] Compiling C99 vx_not_not_host.c
[GCC] Compiling C99 vx_pyramid_intermediate_host.c
[GCC] Compiling C99 vx_pyramid_sink_host.c
[GCC] Compiling C99 vx_pyramid_source_host.c
[GCC] Compiling C99 vx_scalar_intermediate_2_host.c
[GCC] Compiling C99 vx_scalar_intermediate_host.c
[GCC] Compiling C99 vx_scalar_sink2_host.c
[GCC] Compiling C99 vx_scalar_sink_host.c
[GCC] Compiling C99 vx_scalar_sink_obj_array_host.c
[GCC] Compiling C99 vx_scalar_source2_host.c
[GCC] Compiling C99 vx_scalar_source_error_host.c
[GCC] Compiling C99 vx_scalar_source_host.c
[GCC] Compiling C99 vx_scalar_source_obj_array_host.c
[GCC] Compiling C99 vx_test_target_host.c
[GCC] Compiling C99 vx_tiovx_overhead_host.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_kernels_test_kernels.a
[GCC] Compiling C99 test_cmd_timeout.c
[GCC] Compiling C99 test_graph_stream.c
[GCC] Compiling C99 test_graph_stream_khronos.c
[GCC] Compiling C99 test_not_not.c
[GCC] Compiling C99 test_pyramid_node.c
[GCC] Compiling C99 test_sink_node.c
[GCC] Compiling C99 test_source_node.c
[GCC] Compiling C99 test_timestamp.c
[GCC] Compiling C99 test_tiovx_overhead.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_kernels_test_kernels_tests.a
[GCC] Compiling C99 test_accumulate.c
[GCC] Compiling C99 test_accumulatesquare.c
[GCC] Compiling C99 test_accumulateweighted.c
[GCC] Compiling C99 test_addsub.c
[GCC] Compiling C99 test_array.c
[GCC] Compiling C99 test_binop16s.c
[GCC] Compiling C99 test_binop8u.c
[GCC] Compiling C99 test_box3x3.c
[GCC] Compiling C99 test_canny.c
[GCC] Compiling C99 test_channelcombine.c
[GCC] Compiling C99 test_channelextract.c
[GCC] Compiling C99 test_convertcolor.c
[GCC] Compiling C99 test_convertdepth.c
[GCC] Compiling C99 test_convolution.c
[GCC] Compiling C99 test_convolve.c
[GCC] Compiling C99 test_dilate3x3.c
[GCC] Compiling C99 test_eqhist.c
[GCC] Compiling C99 test_erode3x3.c
[GCC] Compiling C99 test_fast.c
[GCC] Compiling C99 test_gaussian3x3.c
[GCC] Compiling C99 test_gaussianpyramid.c
[GCC] Compiling C99 test_graph.c
[GCC] Compiling C99 test_graph_callbacks.c
[GCC] Compiling C99 test_graph_delay.c
[GCC] Compiling C99 test_graph_roi.c
[GCC] Compiling C99 test_halfscalegaussian.c
[GCC] Compiling C99 test_harriscorners.c
[GCC] Compiling C99 test_histogram.c
[GCC] Compiling C99 test_integral.c
[GCC] Compiling C99 test_laplacianpyramid.c
[GCC] Compiling C99 test_logging.c
[GCC] Compiling C99 test_lut.c
[GCC] Compiling C99 test_magnitude.c
[GCC] Compiling C99 test_main.c
[GCC] Compiling C99 test_matrix.c
[GCC] Compiling C99 test_meanstddev.c
[GCC] Compiling C99 test_median3x3.c
[GCC] Compiling C99 test_minmaxloc.c
[GCC] Compiling C99 test_multiply.c
[GCC] Compiling C99 test_nonlinearfilter.c
[GCC] Compiling C99 test_not.c
[GCC] Compiling C99 test_object_array.c
[GCC] Compiling C99 test_optflowpyrlk.c
[GCC] Compiling C99 test_phase.c
[GCC] Compiling C99 test_remap.c
[GCC] Compiling C99 test_scalar.c
[GCC] Compiling C99 test_scale.c
[GCC] Compiling C99 test_smoke.c
[GCC] Compiling C99 test_sobel3x3.c
[GCC] Compiling C99 test_target.c
[GCC] Compiling C99 test_threshold.c
[GCC] Compiling C99 test_user_data_object.c
[GCC] Compiling C99 test_usernode.c
[GCC] Compiling C99 test_vximage.c
[GCC] Compiling C99 test_warpaffine.c
[GCC] Compiling C99 test_warpperspective.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_conformance_tests.a
[GCC] Compiling C99 vx_testmodule_lib.c
[GCC] Compiling C99 vx_testmodule_module.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_conformance_tests_testmodule.a
[GCC] Compiling C99 test_bmp.c
[GCC] Compiling C99 test_engine.c
[GCC] Compiling C99 test_image.c
[GCC] Compiling C99 test_mem.c
[GCC] Compiling C99 test_utils.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_conformance_engine.a
[GCC] Compiling C99 test_array.c
[GCC] Compiling C99 test_boundary.c
[GCC] Compiling C99 test_context.c
[GCC] Compiling C99 test_data_ref_queue.c
[GCC] Compiling C99 test_delay.c
[GCC] Compiling C99 test_error.c
[GCC] Compiling C99 test_event_queue.c
[GCC] Compiling C99 test_graph.c
[GCC] Compiling C99 test_graph_pipeline.c
[GCC] Compiling C99 test_graph_sort.c
[GCC] Compiling C99 test_graph_stream.c
[GCC] Compiling C99 test_graph_verify.c
[GCC] Compiling C99 test_image.c
[GCC] Compiling C99 test_internalapis.c
[GCC] Compiling C99 test_kernel.c
[GCC] Compiling C99 test_lut.c
[GCC] Compiling C99 test_matrix.c
[GCC] Compiling C99 test_meta_format.c
[GCC] Compiling C99 test_node.c
[GCC] Compiling C99 test_objarray.c
[GCC] Compiling C99 test_objects.c
[GCC] Compiling C99 test_parameter.c
[GCC] Compiling C99 test_pyramid.c
[GCC] Compiling C99 test_raw_image.c
[GCC] Compiling C99 test_ref_lock.c
[GCC] Compiling C99 test_reference.c
[GCC] Compiling C99 test_safe_casts.c
[GCC] Compiling C99 test_tensor.c
[GCC] Compiling C99 test_tivxPosixObjects.c
[GCC] Compiling C99 test_user_data_objects.c
[GCC] Compiling C99 test_utils_linux_rpmsg_char.c
[GCC] Compiling C99 test_utils_mem.c
[GCC] Compiling C99 test_utils_timer.c
Linking /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/libvx_tiovx_internal_tests.a
[GCC] Compiling C99 test_accumulate.c
[GCC] Compiling C99 test_accumulatesquare.c
[GCC] Compiling C99 test_accumulateweighted.c
[GCC] Compiling C99 test_addsub.c
[GCC] Compiling C99 test_array.c
[GCC] Compiling C99 test_bidir_ext_framework.c
[GCC] Compiling C99 test_bidir_ext_standardnode.c
[GCC] Compiling C99 test_binop16s.c
[GCC] Compiling C99 test_binop8u.c
[GCC] Compiling C99 test_bmp_rd_wr.c
[GCC] Compiling C99 test_boundary.c
[GCC] Compiling C99 test_box3x3.c
[GCC] Compiling C99 test_canny.c
[GCC] Compiling C99 test_channelcombine.c
[GCC] Compiling C99 test_channelextract_combine.c
[GCC] Compiling C99 test_context.c
[GCC] Compiling C99 test_convertcolor.c
[GCC] Compiling C99 test_convertdepth.c
[GCC] Compiling C99 test_convolve.c
[GCC] Compiling C99 test_copy_swap.c
[GCC] Compiling C99 test_create.c
[GCC] Compiling C99 test_debug.c
[GCC] Compiling C99 test_delay.c
[GCC] Compiling C99 test_dilate3x3.c
[GCC] Compiling C99 test_distribution.c
[GCC] Compiling C99 test_eqhist.c
[GCC] Compiling C99 test_erode3x3.c
[GCC] Compiling C99 test_event_queue.c
[GCC] Compiling C99 test_exemplar.c
[GCC] Compiling C99 test_fast.c
[GCC] Compiling C99 test_gaussian3x3.c
[GCC] Compiling C99 test_gaussianpyramid.c
[GCC] Compiling C99 test_graph.c
[GCC] Compiling C99 test_graph_delay.c
[GCC] Compiling C99 test_graph_export_dot.c
[GCC] Compiling C99 test_graph_multithreaded.c
[GCC] Compiling C99 test_graph_pipeline.c
[GCC] Compiling C99 test_graph_stream.c
[GCC] Compiling C99 test_halfscalegaussian.c
[GCC] Compiling C99 test_harriscorners.c
[GCC] Compiling C99 test_histogram.c
[GCC] Compiling C99 test_image.c
[GCC] Compiling C99 test_integral.c
[GCC] Compiling C99 test_kernel.c
[GCC] Compiling C99 test_laplacianpyramid.c
[GCC] Compiling C99 test_log.c
[GCC] Compiling C99 test_lut.c
[GCC] Compiling C99 test_magnitude.c
[GCC] Compiling C99 test_matx.c
[GCC] Compiling C99 test_max_nodes.c
[GCC] Compiling C99 test_meanstddev.c
[GCC] Compiling C99 test_median3x3.c
[GCC] Compiling C99 test_mem_boundary.c
[GCC] Compiling C99 test_meta_format.c
[GCC] Compiling C99 test_minmaxloc.c
[GCC] Compiling C99 test_module.c
[GCC] Compiling C99 test_multiply.c
[GCC] Compiling C99 test_nested_usernode.c
[GCC] Compiling C99 test_node.c
[GCC] Compiling C99 test_node_api.c
[GCC] Compiling C99 test_nonlinearfilter.c
[GCC] Compiling C99 test_not.c
[GCC] Compiling C99 test_obj_desc.c
[GCC] Compiling C99 test_objarray.c
[GCC] Compiling C99 test_optflowpyrlk.c
[GCC] Compiling C99 test_packed_data_format.c
[GCC] Compiling C99 test_parameter.c
[GCC] Compiling C99 test_perf.c
[GCC] Compiling C99 test_phase.c
[GCC] Compiling C99 test_pyramid.c
[GCC] Compiling C99 test_raw_image.c
[GCC] Compiling C99 test_reference.c
[GCC] Compiling C99 test_remap.c
[GCC] Compiling C99 test_replicate.c
[GCC] Compiling C99 test_safe_casts.c
[GCC] Compiling C99 test_scalar.c
[GCC] Compiling C99 test_scale.c
[GCC] Compiling C99 test_sobel3x3.c
[GCC] Compiling C99 test_super_node.c
[GCC] Compiling C99 test_target_kernel.c
[GCC] Compiling C99 test_target_kernel_instance.c
Segmentation fault (core dumped)
make[2]: *** [/opt/psdk-rtos/workarea/sdk_builder/concerto/finale.mak:316: /opt/psdk-rtos/workarea/tiovx/out/J722S/A53/LINUX/release/module/conformance_tests.test_tiovx/test_target_kernel_instance.o] Error 139
make[2]: Leaving directory '/opt/psdk-rtos/workarea/tiovx'
make[1]: *** [makerules/makefile_tiovx_ptk_imaging.mak:58: tiovx] Error 2
make[1]: Leaving directory '/opt/psdk-rtos/workarea/sdk_builder'
make: *** [makerules/makefile_linux_arm.mak:350: yocto_build] Error 2
root@docker:/opt/psdk-rtos/workarea/sdk_builder$
When I try to compile this repo, I get a segmentation fault error on all of them, regardless of Ubuntu 22 or Ubuntu 24 (arm64 or x86). How can I solve the problem?
build_segfault_error.txt