On Wed, Jul 13, 2022 at 6:03 PM Ian Lance Taylor via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > This libgo patch stops including <linux/fs.h> when building > gen-sysinfo.go. Removing this doesn't change anything at least with > glibc 2.33. The include was added in https://go.dev/cl/6100049 but > it's not clear why. This should fix GCC PR 106266. Bootstrapped and > ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Btw, active branches are affected the same way - can you please backport? > Ian