Summary: | app-backup/dar-2.6.{10,13}[gpg] doesn't link with gpgme if not using ld.bfd (undefined symbol: gpgme_check_version_internal) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Viorel Munteanu <ceamac> |
Component: | Current packages | Assignee: | Viorel Munteanu <ceamac> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ionen, proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Viorel Munteanu
2021-02-20 07:40:30 UTC
If I create a file /etc/portage/env/fix_gpgme_curl that contains LDFLAGS="${LDFLAGS} -lgpgme -lcurl" and a file /etc/portage/package.env/dar that contains <=app-backup/dar-2.6.13 and reemerge dar, it starts fine. I cannot edit the previous comment <=app-backup/dar-2.6.13 should be <=app-backup/dar-2.6.13 fix_gpgme_curl I wasn't able to reproduce at first, it's linked with gpgme and everything is normal. But then: ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16 I switched to gold and now I can reproduce. Also tried clang+ld.lld and has the same issue (only ld.bfd works), not that I checked why this is happening. As a simpler workaround, may want to add -fuse-ld=bfd to CXXFLAGS for this package (or not use default-gold). Yes, linking with ld.bfd solved the issue. Thanks! |