You are not logged in.

#51 2022-05-06 08:31:31

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 601
Website

Re: 5.16.12 dkms modules not building - incompatible gcc/plugin versions

gcc/plugin.c:

bool
plugin_default_version_check (struct plugin_gcc_version *gcc_version,
                              struct plugin_gcc_version *plugin_version)

aha.

Well, the error message in the kernel plugin is not nice at all: it should say something like:
cc1: error: incompatible gcc/plugin versions (gcc is 10.1.2, kernel is 10.3.0)
or something along those lines..

Offline

#52 2022-05-06 08:34:13

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 601
Website

Re: 5.16.12 dkms modules not building - incompatible gcc/plugin versions

/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/plugin/include/plugin.h:extern bool plugin_default_version_check (struct plugin_gcc_version *,

that sounds reasonable, so let's check on IA-32:

grep -r plugin_default_version_check /usr/lib/gcc
/usr/lib/gcc/i686-pc-linux-gnu/11.2.0/plugin/include/plugin.h:extern bool plugin_default_version_check (struct plugin_gcc_version *,

Sounds about right. Ok. debugging it is..

Offline

#53 2022-05-06 08:34:56

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 601
Website

Re: 5.16.12 dkms modules not building - incompatible gcc/plugin versions

..which reminds me: debugserver and debug info are (not yet) available for Archlinux32 (as they are for upstream)..

Offline

#54 2022-05-06 19:17:33

jghodd
Member
From: Jetersville, VA
Registered: 2019-07-14
Posts: 43

Re: 5.16.12 dkms modules not building - incompatible gcc/plugin versions

@abaumann - just to stay with the thread, i got the same result, again. have already rebuilt and the rebuild works fine. if there's any information we can provide to help figure out where the disconnect is happening, just let us know.

plugin_default_version_check comes with gcc, which i think you've already figured out.

Offline

Board footer

Powered by FluxBB