lvm2: use bfd even with ld-is-gold in DISTRO_FEATURES
PATCH 1/1 lvm2: use bfd even with ld-is-gold in DISTRO_FEATURES
--- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-support/lvm2/lvm2.inc +4 -0
@@ -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 += "-fuse-ld=bfd"
Signature · 1 line
2.37.3
Hi Martin
Quoted 11 lines · Martin Jansa
Signed-off-by Martin Jansa <[email protected]>--- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-support/lvm2/lvm2.inc +0
-0
meta-oe/recipes-support/lvm2/lvm2.inc EXTRA_OECONF = "--with-user= \ · line 63
Quoted 7 lines
meta-oe/recipes-support/lvm2/lvm2.inc +4
-0@@ -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 += "-fuse-ld=bfd"
We do have third player in the game, lld and this would mean that even lld is disabled. so perhaps its better apply this only when ld-is-gold distro feature is on.
Quoted 12 lines
--
2.37.3-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98737): https://lists.openembedded.org/g/openembedded-devel/message/98737
Mute This Topic: https://lists.openembedded.org/mt/93618041/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH v2 1/1 lvm2: use bfd even with ld-is-gold in DISTRO_FEATURES
--- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-support/lvm2/lvm2.inc +4 -0
@@ -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)}"
Signature · 1 line
2.37.3