mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-13 21:34:34 +00:00
[PR #40] Makefile: segmentation fault (core dumped) with GNU Make 4.4.1 #168
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-linux-kernel-module#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/40
Author: @vanyasem
Created: 10/19/2024
Status: 🔄 Open
Base:
master← Head:patch-1📝 Commits (3)
1bb00edMakefile: Use simple assignment for KERNELRELEASE51801afRevert "Makefile: Use simple assignment for KERNELRELEASE"5642bb2makefile: RenameMODERN_KERNEL_SOURCES_NOT_FOUND_ERRORto have a shorter name📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
src/Makefile(+3 -3)📄 Description
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
:=forKERNELRELEASEinstead of a conditional assignment?=Behavior without the fix:

Behavior with the fix:

Verifying segfault source by removing the reference to the variable:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.