New comment by jnbr on void-packages repository https://github.com/void-linux/void-packages/issues/25535#issuecomment-708616027 Comment: The problem was indeed missing termination of the eh_frame header, caused by wrong order of objects when linking libstdc++. A fix is in PR #25605, feel free to verify.