Re: [OS-BUILD PATCHv4 0/4] redhat/configs/ark: Enable CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL and dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux