Source: gcc-12 Version: 12_12.2.0-5 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-hurd@lists.debian.org Hi, gcc-12-12.2.0-4/5 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error for gcc-11, gcc-12, gcc-snapshot): /<>/build/i686-gnu/libstdc++-v3/include/i686-gnu/bits/gthr- default.h:700: undefined reference to `pthread_once' Patches have already submitted upstream by Samuel Thibault in August and September, see https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600469.html https://gcc.gnu.org/pipermail/gcc-patches/2022-September/601754.html Unfortunately upstream is not very responsive. Therefore I have taken the time to send these patches to Debian in the mean time. Patches extracted and attached from that mail message are: 1.diff-6.diff. Note that 1.diff does not apply to gcc-12, it is related to the git repo. This is reflected in attached debian_rules.patch by commenting out 1.diff. Just a reflection: Matthias you are really doing a great job with the gcc releases: Kudos! Thanks!