After trying update wireguard from 0.0.20191219 to -r2 emerge of wireguard-modules fail with multiple errors: cc1: error: incompatible gcc/plugin versions cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so Reproducible: Always Steps to Reproduce: 1. emerge -au wireguard Actual Results: Failed to emerge net-vpn/wireguard-modules Expected Results: Installed wireguard-modules package
Created attachment 601368 [details] Kernel .config
Created attachment 601370 [details] build.log
Created attachment 601372 [details] emerge --info
Changing memory initialization from CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL to CONFIG_INIT_STACK_NONE fixed the issue, but this is wrong way to go about that.
(In reply to jy6x2b32pie9 from comment #4) > Changing memory initialization from CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL > to CONFIG_INIT_STACK_NONE fixed the issue, but this is wrong way to go about > that. The right way would be to ensure that your kernel is built with the same compiler as external modules such as net-vpn/wireguard-modules.