mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 06:16:04 +01:00
Do not inherit autotools bbclass, the configure script is hand-written and not a autoconf generated one. Backport a fix to build on 32bit x86 Fixes | i686-yoe-linux-ld.lld: error: undefined symbol: uftrace_arch_ops | >>> referenced by symbol.c:586 (utils/symbol.c:586) | >>> /mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux/uftrace/0.18/sources/uftrace-0.18/libmcount/symbol.op:(load_elf_dynsymtab) Signed-off-by: Khem Raj <raj.khem@gmail.com>
27 lines
1.0 KiB
Diff
27 lines
1.0 KiB
Diff
From ea53a7f42c1c5da688ef79e53731dcc3810a1256 Mon Sep 17 00:00:00 2001
|
|
From: Namhyung Kim <namhyung@gmail.com>
|
|
Date: Sun, 6 Jul 2025 15:13:30 -0700
|
|
Subject: [PATCH] build: Fix a build error on i386
|
|
|
|
It happened to have common.S as well as common.c, so it picked the .S
|
|
before .c for the uftrace-arch.a. And it caused undefined symbols.
|
|
|
|
/usr/bin/ld: libmcount/symbol.op: in function `load_dynsymtab':
|
|
utils/symbol.c:722:(.text+0x2b19): undefined reference to `uftrace_arch_ops'
|
|
libmcount/symbol.op: in function `load_elf_dynsymtab':
|
|
utils/symbol.c:586:(.text+0x184a): undefined reference to `uftrace_arch_ops'
|
|
|
|
Fixed: #2010
|
|
|
|
Upstream-Status: Backport [https://github.com/namhyung/uftrace/commit/ea53a7f42c1c5da688ef79e53731dcc3810a1256]
|
|
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
|
|
---
|
|
arch/i386/{common.S => thunk.S} | 0
|
|
1 file changed, 0 insertions(+), 0 deletions(-)
|
|
rename arch/i386/{common.S => thunk.S} (100%)
|
|
|
|
diff --git a/arch/i386/common.S b/arch/i386/thunk.S
|
|
similarity index 100%
|
|
rename from arch/i386/common.S
|
|
rename to arch/i386/thunk.S
|