https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/libphonenumber-8.12.39 fails to compile. Discovered on: amd64 (internal ref: clang-lld_tinderbox) System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 884420 [details] build.log build log and emerge --info
Not reproducible on a GCC system.
As a workaround for this issue, you can use the BFD linker (so -fuse-ld=bfd instead of -fuse-ld=lld). Tested with link time optimizations turned on.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8562873238086a94ba2a9b9ecad1059fd1cd689c commit 8562873238086a94ba2a9b9ecad1059fd1cd689c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-05 11:06:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-05 11:10:11 +0000 dev-libs/libphonenumber: add 8.13.47 * Replace CMake patch with newer version from Exherbo (original came from there too) * Import another patch from Exherbo for newer abseil-cpp (fixes linking w/ lld, mold) * Drop -Werror * Wire up tests again (sorry, not rebasing the CMake patch, this is good enough ;)) Closes: https://bugs.gentoo.org/889910 Closes: https://bugs.gentoo.org/923946 Closes: https://bugs.gentoo.org/939873 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libphonenumber/Manifest | 1 + .../files/libphonenumber-8.13.47-cmake.patch | 31 +++++++++++ ...bphonenumber-8.13.47-protobuf-link-abseil.patch | 24 +++++++++ .../files/libphonenumber-8.13.47-werror.patch | 23 +++++++++ .../libphonenumber/libphonenumber-8.13.47.ebuild | 60 ++++++++++++++++++++++ 5 files changed, 139 insertions(+)