[Bug bootstrap/125583] [16/17 Regression] GCC no longer builds when running configure inside the source tree
tnfchris at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 16:43:59 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125583
--- Comment #5 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> (In reply to Tamar Christina from comment #0)
> > According to https://gcc.gnu.org/install/build.html this is a supported
> > build style
>
> Nope. See https://gcc.gnu.org/install/configure.html
>
> "First, we **highly** recommend that GCC be built into a separate directory
> from the sources which does **not** reside within the source tree. This is
> how we generally build GCC; building where objdir is a subdirectory of
> srcdir should work as well; building where objdir == srcdir is unsupported."
>
> and https://gcc.gnu.org/wiki/InstallingGCC and
> https://gcc.gnu.org/wiki/FAQ#configure
>
> We've been trying to get people to stop running ./configure for as long as I
> can remember, so I don't see the point in a patch to help them keep doing it.
Sure, that's fine. I have no skin in this game. I'm just reporting a bug that
was reported to me.
The current situation though is very bad. Because the workaround people do
give a worse result.
So configure should really just reject this.
More information about the Gcc-bugs
mailing list