diff options
-rw-r--r-- | meta-oe/recipes-devtools/uftrace/uftrace/0001-build-Fix-a-build-error-on-i386.patch | 26 | ||||
-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 @@ | |||
1 | From ea53a7f42c1c5da688ef79e53731dcc3810a1256 Mon Sep 17 00:00:00 2001 | ||
2 | From: Namhyung Kim <namhyung@gmail.com> | ||
3 | Date: Sun, 6 Jul 2025 15:13:30 -0700 | ||
4 | Subject: [PATCH] build: Fix a build error on i386 | ||
5 | |||
6 | It happened to have common.S as well as common.c, so it picked the .S | ||
7 | before .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 | |||
14 | Fixed: #2010 | ||
15 | |||
16 | Upstream-Status: Backport [https://github.com/namhyung/uftrace/commit/ea53a7f42c1c5da688ef79e53731dcc3810a1256] | ||
17 | Signed-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 | |||
23 | diff --git a/arch/i386/common.S b/arch/i386/thunk.S | ||
24 | similarity index 100% | ||
25 | rename from arch/i386/common.S | ||
26 | rename 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" | |||
8 | DEPENDS = "elfutils" | 8 | DEPENDS = "elfutils" |
9 | DEPENDS:append:libc-musl = " argp-standalone" | 9 | DEPENDS:append:libc-musl = " argp-standalone" |
10 | 10 | ||
11 | SRCREV = "8ccd4f627569b0af122c8d1df98dc6813ab97a40" | 11 | SRCREV = "6d006b71ac32e28b7829cc21ccc7bb9c10add964" |
12 | SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https;tag=v${PV} \ | 12 | SRC_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 | ||
17 | LDFLAGS:append:libc-musl = " -largp" | 16 | LDFLAGS:append:libc-musl = " -largp" |
18 | 17 | ||