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

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Don't do that then.  It's documented to not be supported:
> 

I'm just the messenger :) 

That said if you search around you'll find projects using --disable-libatomic
to work around this. Which is probably not what we want either.. 


> First, we @strong{highly} recommend that GCC be built into a
> separate directory from the sources which does @strong{not} reside
> within the source tree.  This is how we generally build GCC; building
> where @var{objdir} is a subdirectory of @var{srcdir} should work as well;
> building where @var{objdir} == @var{srcdir} is unsupported.


So perhaps configure should stop early then? The build error is very cryptic.

I also do have a very small patch that fixes this (just pass host_dirs down
instead of assuming it's .

Should I submit that or did you want to disallow this fully?

Reply via email to