On Thu, Feb 3, 2022 at 6:07 AM David Seifert via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > * `-Werror` can cause issues when a more recent version of GCC compiles > an older version: > - https://bugs.gentoo.org/229059 > - https://bugs.gentoo.org/475350 > - https://bugs.gentoo.org/667104 > > Bootstrapped/regtested x86_64-linux, tested without --disable-werror and > with ./configure --disable-werror, the latter removing -Werror as expected. > > libgo/ChangeLog: > > * libgo/configure.ac: Support --disable-werror. > * libgo/configure: Regenerate.
Just a note that the libgo directory is copied from upstream sources, and should not be changed directly in the GCC repo. See libgo/README.gcc. I'll take care of this discrepancy. Thanks. Ian