[Assist] How can I downgrade GCC?

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Feb 28 22:20:52 GMT 2022

On Mon, 28 Feb 2022 13:36:01 +0000
"hironori.ueno" <hironori.ueno at protonmail.com> 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
> ----------------------------
This is probably because we use GCC plugins for building the kernel:
> $ grep CONFIG_GCC_PLUGINS abslibre/libre/linux-libre-*/config.*
> abslibre/libre/linux-libre-64/config.aarch64:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-64/config.armv7h:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-64/config.i686:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-64/config.x86_64:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-lts/config.armv7h:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-lts/config.i686:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-lts/config.x86_64:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-pck/config.armv7h:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-pck/config.i686:CONFIG_GCC_PLUGINS=y
> abslibre/libre/linux-libre-pck/config.x86_64:CONFIG_GCC_PLUGINS=y

The solution is probably to have Parabola developers rebuild the kernels
with newer GCCs here.

What kernel and Parabola version (i686, armv7h, x86_64) do you use?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.parabola.nu/pipermail/assist/attachments/20220228/5ed35600/attachment.sig>

More information about the Assist mailing list