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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> (In reply to Khem Raj from comment #7)
> > in Yocto we build outside the source tree. And during cross-build it will
> > copy aarch64.h into builddir and use it from there but then build can not
> > find files it includes since its being included from builddir. This patch
> > below helps
> 
> aarch64.h is never copied into the builddir.

Even for cross builds.
I think something else is wrong.  Please file a different bug with the full
log? Including the part where the copy happens because I just did a:
find . -name aarch64.h
in the build directory of the cross build of GCC 12 I had around and there was
no such file happening.

Reply via email to