-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile: segmentation fault (core dumped) with GNU Make 4.4.1 #40
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ivan Semkin <[email protected]>
This will not work with DKMS for which this module is primarily designated. Couldn't you run DKMS with your Arch Linux installation instead of proposing this patch? |
Without this patch, I cannot execute any Locally I just decided to get rid of the 41st line which prints the error message on missing kernel sources, which is the line that's causing the issue, as you can see on the third screenshot. This issue will affect other distributions at some point, as sooner or later other distros will also update their packages to affected versions. Arch Linux can essentially be seen as a preview of problems to come due to its rolling release update model. |
https://savannah.gnu.org/bugs/index.php?65172 You need that patch. |
I can confirm that using a shorter variable name solves the issue: While the upstream bug has been fixed, it has not yet make it to a stable I have observed the issue on |
The patch was incorporated into amneziawg-dkms AUR package |
The patch was incorporated into amneziawg-dkms-git AUR package |
GNU Make 4.4.1 on Arch Linux segfaults when encountering
You're running a modern Linux Kernel (version $(KERNELRELEASE)).
:segmentation fault (core dumped)
It's fixed by using a simple assignment
:=
forKERNELRELEASE
instead of a conditional assignment?=
Behavior without the fix:
Behavior with the fix:
Verifying segfault source by removing the reference to the variable: