[Bug go/106266] Libgo fails with recent glibc

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 21 11:53:16 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106266

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Martin Liska
<marxin@gcc.gnu.org>:

https://gcc.gnu.org/g:4f15d2234608e82159d030dadb17af678cfad626

commit r12-8599-g4f15d2234608e82159d030dadb17af678cfad626
Author: Ian Lance Taylor <iant@golang.org>
Date:   Tue Jul 12 19:42:43 2022 -0700

    libgo: don't include <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.

    Fixes PR go/106266

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/417294
    (cherry picked from commit f35d65517a59565758107c5b1a51a5fa382f8d1a)


More information about the Gcc-bugs mailing list