Thanks Alfie, that was really helpful.

I reran the make command and the error was trivial
to spot that time. I then ran "make -j$(nproc) all-gcc"
and the built GCC was finally able to compile my
GIMPLE code and emit the arm assembly code
show on the bugzilla page. I can get to adding the
RTL optimization now.

For a full aarch64 bootstrap setup when I get to
the stage of running the testsuite, I'll still have to
get on a cfarm machine and test my patch on it?

On Tue, Sep 22, 2026 at 2:27 PM Alfie Richards <[email protected]> wrote:
>
> On 22/09/2026 11:20, Kevin Stefanov wrote:
> > Hi Alfie, thank you for the suggestion.
> >
> > I added --disable-bootstrap to the configure command
> > but "make" ended with an error again:
> > make: *** [Makefile:1109: all] Error 2
> >
> > I scrolled up for a while but couldn't spot any actual error
> > message that says what went wrong.
>
> Ah yes, would definitely be helpful to find, from my experience there
> will be one somewhere, but often not trivial to find.
> If you try running the command again (without changing anything) it is
> often easier, as all the previous successful jobs will be skipped so the
> log will be shorter and often just contain the failure. Especially if
> you use -j 1.
>
> Regardless, for this situation, I would suggest using
> `make -j$(nproc) all-gcc`
>
> As this will avoid building runtime libraries and will likely be enough
> for what you need.
>
> It is likely you don't have a working aarch64 assembler, linker, and
> libc.  To successfully compiler runtime libs (which is part of `make
> all`) you would need those. (But I think you likely don't need to do
> `make all`)
>
> Hope this helps,
> Alfie
> >
> > Yes, so far for my patches I've always done my testsuite results
> > comparison on a native x86_64 bootstrapped GCC build with:
> >

Reply via email to