Skip to contentSkip to conversation

efivar: backport 5 patches to fix build with gold

PATCH Martin Jansa 2 participants 2 messages Aug 28, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 11 lines · Martin Jansa via lists.openembedded.org

* LDFLAGS += "-fuse-ld=bfd" in the recipe doesn't work and it still fails to build with ld-is-gold in DISTRO_FEATURES

removal of this line sent to master in:
https://lists.openembedded.org/g/openembedded-core/message/185167

* the most important ones are the 1st which removes --add-needed and the last which removes src/include/workarounds.mk completely while 2-4 patches just update src/include/workarounds.mk for the last one to apply cleanly

Quoted 6 lines

* alternatively we can bump SRCREV to latest 38 as master did in:

https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0
which brings 23 commits, but instead of adding 5 more patches allows to remove 5

Steve: this should be OK to backport, unless you want me to send backport of above minor upgrade instead.

#2 lore raw
Quoted 14 lines · Martin Jansa
Quoted 12 lines · Martin Jansa via lists.openembedded.org

* LDFLAGS += "-fuse-ld=bfd" in the recipe doesn't work and it still fails to build with ld-is-gold in DISTRO_FEATURES

removal of this line sent to master in:
https://lists.openembedded.org/g/openembedded-core/message/185167

* the most important ones are the 1st which removes --add-needed and the last which removes src/include/workarounds.mk completely while 2-4 patches just update src/include/workarounds.mk for the last one to apply cleanly

Quoted 7 lines
Quoted 4 lines

* alternatively we can bump SRCREV to latest 38 as master did in:
https://git.openembedded.org/openembedded-core/commit/?id=4df808c616f847d90203582fd950a49bb8360dd0
which brings 23 commits, but instead of adding 5 more patches allows to remove 5

Steve: this should be OK to backport, unless you want me to send backport of above minor upgrade instead.

Thanks Martin! I took this patch into my test queue.

Steve