Re: Very slow clang kernel config ..

From: Nick Desaulniers
Date: Thu Apr 29 2021 - 22:22:47 EST


On Thu, Apr 29, 2021 at 5:19 PM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> On Thu, Apr 29, 2021 at 2:53 PM Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I haven't looked into why this is so slow with clang, but it really is
> > painfully slow:
> >
> > time make CC=clang allmodconfig
> > real 0m2.667s
> >
> > vs the gcc case:
> >
> > time make CC=gcc allmodconfig
> > real 0m0.903s
>
> Can
> you provide info about your clang build such as the version string,
> and whether this was built locally perhaps?

d'oh it was below.

> > This is on my F34 machine:
> >
> > clang version 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)

--
Thanks,
~Nick Desaulniers