There is an updated pull request by oreo639 against master on the void-packages repository https://github.com/oreo639/void-packages gcc11 https://github.com/void-linux/void-packages/pull/34902 gcc: update to 12.2.0. [ci skip] Edit: this PR had been updated for gcc 12.2.0 I tested this PR with glibc and after updating glibc, it seems to work fine. I also tested this PR with x86_64-musl, and it appears to run fine in a musl chroot, and recompiling and installing musl with gcc 12 doesn't appear to result in any issues. (more testing is needed) Please let me know if there are any issues. I compiled base-system and base-chroot on x86_64-glibc and x86_64-musl to ensure that compiles and it appears to work fine. I tested some of the cross compilers and after some debugging with the help of CameronNemo, we figured out the issue. The cross compilers are built with `nopie=yes` (specified in environment/build-style), which causes issues with glibc 2.35+ which uses PIE by default. gcc always builds itself as nopie. I added a workaround to common/build-style/void-cross but if you have any other recommendations on how to handle it, feel free to let me know. This PR also updates glibc to 2.36: https://sourceware.org/glibc/wiki/Release/2.36 Necessary to fix previously existing build failures (unrelated to this PR): - [ ] firefox-esr https://github.com/void-linux/void-packages/pull/38817 - [x] gupnp https://github.com/void-linux/void-packages/pull/38844 Known packages that need to be fixed/updated for glibc 2.36: - [x] samba https://github.com/void-linux/void-packages/pull/38700 - [x] qemu https://github.com/void-linux/void-packages/pull/38769 - [x] llvm https://github.com/void-linux/void-packages/pull/38694 - [x] m4 https://github.com/void-linux/void-packages/pull/33730 - [x] btrfs-progs https://github.com/void-linux/void-packages/pull/38778 - [x] ntp https://github.com/void-linux/void-packages/pull/38772 - [x] libarchive https://github.com/void-linux/void-packages/pull/38773 - [x] boost https://github.com/void-linux/void-packages/pull/38784 - [x] chroot-grep https://github.com/void-linux/void-packages/pull/38785 - [x] plymouth https://github.com/void-linux/void-packages/pull/38821 - [x] fuse https://github.com/void-linux/void-packages/pull/38827 - [x] libostree https://github.com/void-linux/void-packages/pull/38828 - [x] libvirt https://github.com/void-linux/void-packages/pull/38842 - [x] syslinux https://github.com/void-linux/void-packages/pull/38876 - [x] efivar https://github.com/void-linux/void-packages/pull/38874 Known packages that needed to be fixed/updated for gcc12: - [ ] linux5.18 (in this PR) - [x] openssh https://github.com/void-linux/void-packages/pull/38849 - [x] xf86-video-vmware https://github.com/void-linux/void-packages/pull/38847 - [x] doxygen https://github.com/void-linux/void-packages/pull/38846 - [ ] firefox-esr https://github.com/void-linux/void-packages/pull/38817 - [x] libproxy https://github.com/void-linux/void-packages/pull/38818 - [x] exempi https://github.com/void-linux/void-packages/pull/38820 - [x] openjdk7-bootstrap https://github.com/void-linux/void-packages/pull/38822 - [ ] gpgme https://github.com/void-linux/void-packages/pull/38825 - [x] libunique1 https://github.com/void-linux/void-packages/pull/38848 or https://github.com/void-linux/void-packages/pull/38873 - [x] libwpd https://github.com/void-linux/void-packages/pull/38878 Needs to be fixed/updated for binutils: - [x] grub https://github.com/void-linux/void-packages/pull/38875 - [x] linux-tools https://github.com/void-linux/void-packages/pull/38877 - [x] kcov https://github.com/void-linux/void-packages/pull/39291 [ISO packages](https://github.com/void-linux/void-mklive/blob/ee69596c585bee310267a437c3ce0fc3efbcaf72/build-x86-images.sh.in#L36-L66) verified: - [x] base system - [x] base chroot - [x] gnome - [x] xfce - [x] mate - [x] cinnamon - [x] enlightenment - [x] kde - [x] lxde - [x] lxqt You can test the ISOs here: https://drive.google.com/drive/folders/1ix92CYSLUP-KWjLxltdgG4e8Nu2JCY5n?usp=sharing #### Testing the changes - I tested the changes in this PR: **briefly** #### Local build testing - I built this PR locally for my native architecture, (x86_64-glibc) - I built this PR locally for these architectures (if supported. mark crossbuilds): - x86_64-musl A patch file from https://github.com/void-linux/void-packages/pull/34902.patch is attached