pinentry: link with libatomic when needed
PATCH 1/1 pinentry: link with libatomic when needed
Following errors might occur on architectures required to use gcc libatomics:
sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding
symbols: DSO missing from command line
This is often the case for sparcv8 32 bit toolchains.
See d28591a2ee39704f6795c8aa1d0a3db7e909facc,55a9d6d55888b04ec6c476399e5b98a2412995f5 and03f6e005e6a9617767b24a9026da9477848020cc.
Fixes:
- http://autobuild.buildroot.net/results/fd6bee70ff20bee9607a9f6f557a3a793d00cd9f
--- package/pinentry/pinentry.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/pinentry/pinentry.mk +4 -0
@@ -18,6 +18,10 @@ PINENTRY_CONF_OPTS += \ --with-libgpg-error-prefix=$(STAGING_DIR)/usr \ --without-libcap # requires PAM +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +PINENTRY_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic" +endif + # build with X if available ifeq ($(BR2_PACKAGE_XORG7),y) PINENTRY_CONF_OPTS += --with-x
Signature · 1 line
2.14.1
PATCH 1/1 pinentry: link with libatomic when needed
Hello,
Quoted 11 lines · Fabrice Fontaine
Following errors might occur on architectures required to use gcc libatomics:
sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding
symbols: DSO missing from command lineThis is often the case for sparcv8 32 bit toolchains.
See
d28591a2ee39704f6795c8aa1d0a3db7e909facc,55a9d6d55888b04ec6c476399e5b98a2412995f5and03f6e005e6a9617767b24a9026da9477848020cc.
Quoted 7 lines
Fixes:
- http://autobuild.buildroot.net/results/fd6bee70ff20bee9607a9f6f557a3a793d00cd9fSigned-off-by Fabrice Fontaine <[email protected]>--- package/pinentry/pinentry.mk | 4 ++++ 1 file changed, 4 insertions(+)
Same comment as the patch for the tor package, I've applied with the same fixes.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 pinentry: link with libatomic when needed
In reply to Fabrice FontaineQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Following errors might occur on architectures required to use gcc libatomics:
sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding
symbols: DSO missing from command lineThis is often the case for sparcv8 32 bit toolchains.
Quoted 8 lines
See
d28591a2ee39704f6795c8aa1d0a3db7e909facc,55a9d6d55888b04ec6c476399e5b98a2412995f5and03f6e005e6a9617767b24a9026da9477848020cc.Fixes:
- http://autobuild.buildroot.net/results/fd6bee70ff20bee9607a9f6f557a3a793d00cd9fSigned-off-by Fabrice Fontaine <[email protected]>
Committed to 2018.02.x and 2018.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard