mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 03:57:15 +00:00
libnetfilter-cttimeout: Fix build with lld
The version script lists nfct_timeout_policy_unset(), which has never been implemented, so lld fails with: error: version script assignment of 'LIBNETFILTER_CTTIMEOUT_1.0' to symbol 'nfct_timeout_policy_unset' failed: symbol not defined Drop it from the version script. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
2 files changed
+30
-1
No files matched your search
+28
@@ -0,0 +1,28 @@
|
||||
From 9872a9f41511c7fcca82e4bc262eb8414cd878cf Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <khem.raj@oss.qualcomm.com>
|
||||
Date: Mon, 9 Nov 2026 08:37:29 -0800
|
||||
Subject: [PATCH] src: Drop nfct_timeout_policy_unset from the version script
|
||||
|
||||
nfct_timeout_policy_unset() has never been implemented, so linkers that
|
||||
check the version script, like lld, fail with:
|
||||
|
||||
error: version script assignment of 'LIBNETFILTER_CTTIMEOUT_1.0' to symbol 'nfct_timeout_policy_unset' failed: symbol not defined
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
|
||||
---
|
||||
src/libnetfilter_cttimeout.map | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/libnetfilter_cttimeout.map b/src/libnetfilter_cttimeout.map
|
||||
index 1c854cc..65713ad 100644
|
||||
--- a/src/libnetfilter_cttimeout.map
|
||||
+++ b/src/libnetfilter_cttimeout.map
|
||||
@@ -7,7 +7,6 @@ global:
|
||||
nfct_timeout_attr_set_u16;
|
||||
nfct_timeout_attr_unset;
|
||||
nfct_timeout_policy_attr_set_u32;
|
||||
- nfct_timeout_policy_unset;
|
||||
nfct_timeout_policy_attr_to_name;
|
||||
nfct_timeout_nlmsg_build_hdr;
|
||||
nfct_timeout_nlmsg_build_payload;
|
||||
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
|
||||
DEPENDS = "libmnl"
|
||||
|
||||
SRC_URI = "https://www.netfilter.org/projects/libnetfilter_cttimeout/files/libnetfilter_cttimeout-${PV}.tar.bz2 \
|
||||
"
|
||||
file://0001-src-Drop-nfct_timeout_policy_unset-from-the-version-.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "ac64b55952b79cb9910db95ce8883940"
|
||||
SRC_URI[sha256sum] = "0b59da2f3204e1c80cb85d1f6d72285fc07b01a2f5678abf5dccfbbefd650325"
|
||||
|
||||
Reference in new issue
Block a user