Closed desultory-zz closed 1 year ago
I can confirm that I'm still able to build 5.10 using my setup, I just can't build 5.15 and looking at the code, it looks like there were some changes made to it. I haven't had an issue compiling any 6.x kernels with wireguard support so it seems to be specific to the microsoft kernel
I attempted this running the standard WSL2 kernel, no difference as expected
You've got it configured to treat warnings as errors.
CONFIG_WERROR=y
Don't do that. The warnings in the Wireguard module are harmless.
Thank you! I didn't notice I had that set, I don't think I did it intentionally
I see that is one of the first options under general when running nconfig, I must have fat fingered that. It seems to be compiling now
Version
Microsoft Windows [Version 10.0.22621.675]
WSL Version
Kernel Version
lappy 5.10.43.3-microsoft-custom-WSL2+
Distro Version
Gentoo
Other Software
/var/lib/portage/world
I'm currently running 5.10 on almost the exact same config, diff posted below
.config
config diff:
Repro Steps
Expected Behavior
Kernel compiles
Actual Behavior
Kernel compilation fails on wireguard module
Diagnostic Logs