New comment by oreo639 on void-packages repository https://github.com/void-linux/void-packages/issues/48500#issuecomment-1925092227 Comment: The crash occurs in `initialize_env()` on the following line: https://github.com/gcc-mirror/gcc/blob/releases/gcc-13.2.0/libgomp/env.c#L2062 Applying the following patch does appear to fix the issue for me https://github.com/gcc-mirror/gcc/commit/15345980633c502f0486a2e40e96224f49134130 in to libgomp does appear to fix the issue for me (adds an if statement before de-referencing).