Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix image build segfaults on QEMU (#2018)
Collector build randomly started failing on ppc64le and arm64 with the following segfault message: ``` gmake[2]: *** [driver/modern_bpf/CMakeFiles/ProbeSkeleton.dir/build.make:673: driver/modern_bpf/copy_file_range.bpf.o] Segmentation fault (core dumped) gmake[1]: *** [CMakeFiles/Makefile2:2035: driver/modern_bpf/CMakeFiles/ProbeSkeleton.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... ``` The error itself seems to coincide with an update to the GHA runner which updates the kernel: - Last successful build: https://github.com/stackrox/collector/actions/runs/12890846039/job/36009468005 - Runner version: 20250105.1.0 - First failing build: https://github.com/stackrox/collector/actions/runs/12939264126/job/36091246392 - Runner version: 20250120.5.0 - Release notes for this runner: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250120.5 Because the errors are specific to ppc64le and arm64 builds, the best guess is that there is an incompatibility between QEMU and this newer kernel. The proposed fix is to update the image used for setting up QEMU.
- Loading branch information