diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-12 11:10:54 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2023-07-04 05:32:29 -1000 |
| commit | 583dba175cf917de745397ed9374b1635e761812 (patch) | |
| tree | 56b79bdc9b18b56fc99a1dcab88cf550e6559220 | |
| parent | d20224ac863d7d22aa6a4ec9d2971d7ce7b1db83 (diff) | |
| download | poky-583dba175cf917de745397ed9374b1635e761812.tar.gz | |
parted: Add missing libuuid to linker cmdline for libparted-fs-resize.so
(From OE-Core rev: 8e42a4364921fabccf0f1c4bc4e661da72c82d06)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 493b6a17ede8033be11eb61aef347f6f5df42f7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch | 34 | ||||
| -rw-r--r-- | meta/recipes-extended/parted/parted_3.5.bb | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch b/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch new file mode 100644 index 0000000000..10354f1ed9 --- /dev/null +++ b/meta/recipes-extended/parted/files/0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From 1fc88332f7e906294fd889287b9e84cefc7f1586 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Mon, 12 Jun 2023 10:40:07 -0700 | ||
| 4 | Subject: [PATCH] fs: Add libuuid to linker flags for libparted-fs-resize | ||
| 5 | library | ||
| 6 | |||
| 7 | This library uses uuid_generate function which comes from libuuid and | ||
| 8 | hence it should be mentioned on linker cmdline | ||
| 9 | |||
| 10 | fixes | ||
| 11 | | aarch64-yoe-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: uuid_generate | ||
| 12 | | >>> referenced by /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/fatresize/1.1.0-r0/recipe-sysroot/usr/lib/libparted-fs-resize.so | ||
| 13 | |||
| 14 | Upstream-Status: Submitted [https://alioth-lists.debian.net/pipermail/parted-devel/2023-June/005873.html] | ||
| 15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 16 | --- | ||
| 17 | libparted/fs/Makefile.am | 1 + | ||
| 18 | 1 file changed, 1 insertion(+) | ||
| 19 | |||
| 20 | diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am | ||
| 21 | index 2f345f3..a8970eb 100644 | ||
| 22 | --- a/libparted/fs/Makefile.am | ||
| 23 | +++ b/libparted/fs/Makefile.am | ||
| 24 | @@ -75,6 +75,7 @@ libparted_fs_resize_la_LDFLAGS = \ | ||
| 25 | EXTRA_DIST += fsresize.sym | ||
| 26 | libparted_fs_resize_la_DEPENDENCIES = $(sym_file) | ||
| 27 | |||
| 28 | +libparted_fs_resize_la_LIBADD = $(UUID_LIBS) | ||
| 29 | libparted_fs_resize_la_SOURCES = \ | ||
| 30 | r/filesys.c \ | ||
| 31 | r/fat/bootsector.c \ | ||
| 32 | -- | ||
| 33 | 2.41.0 | ||
| 34 | |||
diff --git a/meta/recipes-extended/parted/parted_3.5.bb b/meta/recipes-extended/parted/parted_3.5.bb index ea2b68bbd8..ca35852eb0 100644 --- a/meta/recipes-extended/parted/parted_3.5.bb +++ b/meta/recipes-extended/parted/parted_3.5.bb | |||
| @@ -8,6 +8,7 @@ DEPENDS = "ncurses util-linux virtual/libiconv" | |||
| 8 | 8 | ||
| 9 | SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ | 9 | SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \ |
| 10 | file://fix-doc-mandir.patch \ | 10 | file://fix-doc-mandir.patch \ |
| 11 | file://0001-fs-Add-libuuid-to-linker-flags-for-libparted-fs-resi.patch \ | ||
| 11 | file://run-ptest \ | 12 | file://run-ptest \ |
| 12 | " | 13 | " |
| 13 | 14 | ||
