From: Ondrej Mosnáček on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/786#note_488440391

I think I discovered another issue with this option enabled. When I try
to build an out-of-tree kernel module on the current Rawhide compose, it
fail with:
```
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-
plugins/structleak_plugin.so
```
It seems that gcc requires that the plugin has been built with the exact
same (or close enough?) GCC version as the one used to compile modules
with. That is pretty ugly, since there would now be a window between any
GCC update and the next kernel build with the new GCC, where it wouldn't
be (always) possible to satisfy the dependency (even if added as an
explicit `Requires:` to `kernel-devel`). I'm not sure though how
granular the version check is - it is possible that it mismatches so
often now because of the devel GCC snapshots that are being pushed to
rawhide these days...

Any ideas how to fix/work around this?
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to