summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-devtools/uftrace/uftrace/0001-build-Fix-a-build-error-on-i386.patch26
-rw-r--r--meta-oe/recipes-devtools/uftrace/uftrace_0.18.1.bb (renamed from meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb)5
2 files changed, 2 insertions, 29 deletions
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace/0001-build-Fix-a-build-error-on-i386.patch b/meta-oe/recipes-devtools/uftrace/uftrace/0001-build-Fix-a-build-error-on-i386.patch
deleted file mode 100644
index c6bc8473b9..0000000000
--- a/meta-oe/recipes-devtools/uftrace/uftrace/0001-build-Fix-a-build-error-on-i386.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From ea53a7f42c1c5da688ef79e53731dcc3810a1256 Mon Sep 17 00:00:00 2001
2From: Namhyung Kim <namhyung@gmail.com>
3Date: Sun, 6 Jul 2025 15:13:30 -0700
4Subject: [PATCH] build: Fix a build error on i386
5
6It happened to have common.S as well as common.c, so it picked the .S
7before .c for the uftrace-arch.a. And it caused undefined symbols.
8
9 /usr/bin/ld: libmcount/symbol.op: in function `load_dynsymtab':
10 utils/symbol.c:722:(.text+0x2b19): undefined reference to `uftrace_arch_ops'
11 libmcount/symbol.op: in function `load_elf_dynsymtab':
12 utils/symbol.c:586:(.text+0x184a): undefined reference to `uftrace_arch_ops'
13
14Fixed: #2010
15
16Upstream-Status: Backport [https://github.com/namhyung/uftrace/commit/ea53a7f42c1c5da688ef79e53731dcc3810a1256]
17Signed-off-by: Namhyung Kim <namhyung@gmail.com>
18---
19 arch/i386/{common.S => thunk.S} | 0
20 1 file changed, 0 insertions(+), 0 deletions(-)
21 rename arch/i386/{common.S => thunk.S} (100%)
22
23diff --git a/arch/i386/common.S b/arch/i386/thunk.S
24similarity index 100%
25rename from arch/i386/common.S
26rename to arch/i386/thunk.S
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.1.bb
index ce2be01f51..c84b992af8 100644
--- a/meta-oe/recipes-devtools/uftrace/uftrace_0.18.bb
+++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.18.1.bb
@@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8DEPENDS = "elfutils" 8DEPENDS = "elfutils"
9DEPENDS:append:libc-musl = " argp-standalone" 9DEPENDS:append:libc-musl = " argp-standalone"
10 10
11SRCREV = "8ccd4f627569b0af122c8d1df98dc6813ab97a40" 11SRCREV = "6d006b71ac32e28b7829cc21ccc7bb9c10add964"
12SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https;tag=v${PV} \ 12SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https;tag=v${PV} \
13 file://0001-include-libgen.h-for-basename.patch \ 13 file://0001-include-libgen.h-for-basename.patch \
14 file://0001-build-Fix-a-build-error-on-i386.patch \ 14 "
15 "
16 15
17LDFLAGS:append:libc-musl = " -largp" 16LDFLAGS:append:libc-musl = " -largp"
18 17