[Assist] How can I downgrade GCC?

hironori.ueno hironori.ueno at protonmail.com
Tue Mar 1 04:09:16 GMT 2022


Thank you.

I thought it might not work because of the warning, but
I should have started by checking the module in action.
I can't check the operation of the module right now,
so I'll check it later.

------- Original Message -------

On Tuesday, March 1st, 2022 at 12:46 AM, <edgar at openmail.cc> wrote:

> On 2022-02-28 13:36, hironori.ueno wrote:
>
> > Hi,
> >
> > I have a problem and please let me know if there is a solution.
> >
> > I tried to build a module for dkms and got the following warning:
> >
> > ----------------------------
> >
> > warning: the compiler differs from the one used to build the kernel
> >
> > The kernel was built by: gcc (GCC) 11.1.0
> >
> > You are using: gcc (GCC) 11.2.0
> >
> > ----------------------------
> >
> > I thought it was a problem caused by updating GCC and tried to
> >
> > downgrade to get GCC back from 11.2.0 to 11.1.0.
> >
> > For the downgrade, I used the "downgrade" provided by AUR.
> >
> > ----------------------------
> >
> > $ sudo downgrade gcc gcc-libs
> >
> > ----------------------------
>
> Without being an expert, my experience is that downgrading anything
>
> related to libc means to downgrade the whole system or building a lot of
>
> packages from scratch. I imagine that a similar situation arises with
>
> GCC.
>
> Also, sometimes, warnings are innocuous (you can disregard them). In
>
> your case, I would try to compile and see if it works.
>
> -------------------------------------------------
>
> This free account was provided by VFEmail.net - report spam to abuse at vfemail.net
>
> ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
>
> $24.95 ONETIME Lifetime accounts with Privacy Features!
>
> 15GB disk! No bandwidth quotas!
>
> Commercial and Bulk Mail Options!
>
> _______________________________________________
>
> Assist mailing list
>
> Assist at lists.parabola.nu
>
> https://lists.parabola.nu/mailman/listinfo/assist


More information about the Assist mailing list