From 21928e8aede47d87a27be5a0506d8d26813ce1e3 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 12 Sep 2022 08:01:37 +0200 Subject: lvm2: use bfd even with ld-is-gold in DISTRO_FEATURES Signed-off-by: Martin Jansa Signed-off-by: Khem Raj --- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-oe/recipes-support/lvm2') diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 34e57ec7a..277e76f0d 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -57,3 +57,7 @@ EXTRA_OECONF = "--with-user= \ --with-thin-repair=${sbindir}/thin_repair \ --with-thin-restore=${sbindir}/thin_restore \ " + +# gold doesn't like multiple dm_bitset_parse_list definitions in libdm/.exported_symbols.DM_1_02_138 and libdm/.exported_symbols.DM_1_02_129 +# after it was uncommented in the later in 2.03.12 with https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab +LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd", '', d)}" -- cgit v1.2.3-54-g00ecf