mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
Swift defaults to building against GCC's libstdc++ runtime, but GCC 16's headers can only be parsed by Clang 22 and later. Swift's LLVM will pick up on the newest headers available on disk, which means that even if GCC 16 is simply installed on the build machine, Swift will fail to build. Depending on GCC <16 and explicitly setting `--gcc-install-dir` allows the right headers to be picked up. Closes: https://bugs.gentoo.org/974722 Signed-off-by: Itai Ferber <itai@itaiferber.net>