[PR #171] build: move pr_fmt definition from Kbuild to source files #215

Open
opened 2026-10-13 21:07:42 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/171
Author: @kuuff
Created: 5/22/2026
Status: 🔄 Open

Base: master ← Head: fix-pr_fmt


📝 Commits (1)

  • 8a896e4 build: move pr_fmt definition from Kbuild to source files

📊 Changes

17 files changed (+16 additions, -15 deletions)

View changed files

📝 src/Kbuild (+0 -1)
📝 src/allowedips.c (+1 -1)
📝 src/cookie.c (+1 -1)
📝 src/device.c (+1 -1)
📝 src/junk.c (+1 -0)
📝 src/magic_header.c (+1 -0)
📝 src/main.c (+1 -1)
📝 src/netlink.c (+1 -1)
📝 src/noise.c (+1 -1)
📝 src/peer.c (+1 -1)
📝 src/peerlookup.c (+1 -1)
📝 src/queueing.c (+1 -1)
📝 src/ratelimiter.c (+1 -1)
📝 src/receive.c (+1 -1)
📝 src/send.c (+1 -1)
📝 src/socket.c (+1 -1)
📝 src/timers.c (+1 -1)

📄 Description

7.0.9 fails to handle command-line definition of pr_fmt

-D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt'

with the errors looking like:

gcc: error: ":: linker input file not found

Define pr_fmt locally in source files instead, it fixes the issue.


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

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/pull/171 **Author:** [@kuuff](https://github.com/kuuff) **Created:** 5/22/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix-pr_fmt` --- ### 📝 Commits (1) - [`8a896e4`](https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/commit/8a896e49ca13dbf04827b257980fe87ec8b48292) build: move pr_fmt definition from Kbuild to source files ### 📊 Changes **17 files changed** (+16 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/Kbuild` (+0 -1) 📝 `src/allowedips.c` (+1 -1) 📝 `src/cookie.c` (+1 -1) 📝 `src/device.c` (+1 -1) 📝 `src/junk.c` (+1 -0) 📝 `src/magic_header.c` (+1 -0) 📝 `src/main.c` (+1 -1) 📝 `src/netlink.c` (+1 -1) 📝 `src/noise.c` (+1 -1) 📝 `src/peer.c` (+1 -1) 📝 `src/peerlookup.c` (+1 -1) 📝 `src/queueing.c` (+1 -1) 📝 `src/ratelimiter.c` (+1 -1) 📝 `src/receive.c` (+1 -1) 📝 `src/send.c` (+1 -1) 📝 `src/socket.c` (+1 -1) 📝 `src/timers.c` (+1 -1) </details> ### 📄 Description 7.0.9 fails to handle command-line definition of pr_fmt -D'pr_fmt(fmt)=KBUILD_MODNAME ": " fmt' with the errors looking like: gcc: error: ":: linker input file not found Define pr_fmt locally in source files instead, it fixes the issue. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-linux-kernel-module#215
No description provided.