Hi Kyrill, On Fri, Nov 29, 2024 at 02:06:17PM +0000, Kyrylo Tkachov wrote: > Hi Yury, > > > On 29 Nov 2024, at 13:57, Yury Khrustalev <yury.khrusta...@arm.com> wrote: > > > > Inclusion of "arm_acle.h" would requires stdint.h that may > > not be available during first stage of cross-compilation. > > Do you mean when trying to build a big-endian cross-compiler or something? > The change seems harmless to me but the subject line says it’s fixing a > bootstrap failure but the text here says cross-compilation. > So I’m trying to understand what’s going wrong. > > Thanks, > Kyrill
The build failure I refer to arose when cross-building GCC for the aarch64-none-linux-gnu target (on any supporting host) using 3-stage bootstrap build process when we build native compiler from source and when we use the "--with-build-sysroot=..." configure flag: GCC fails to compile libgcc due to missing header that has not been installed yet. This could be worked around but it's better to fix the issue altogether. Would you recommend to re-phrase the commit message? Thanks, Yury