There's a merged pull request on the void-packages repository openjdk7-bootstrap: fix build for gcc12 https://github.com/void-linux/void-packages/pull/38822 Description: #### Testing the changes - I tested the changes in this PR: **briefly**