Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923946

Summary: dev-libs/libphonenumber-8.12.39 fails to compile: ld.lld: error: undefined reference due to --no-allow-shlib-undefined: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> absl::lts_20230802::log_internal::MakeCheckOpString<lon
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: CONFIRMED ---    
Severity: normal CC: asturm, darkkirb
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-06 15:55:53 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-06 15:55:55 UTC
Created attachment 884420 [details]
build.log

build log and emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2024-02-06 18:14:06 UTC
Not reproducible on a GCC system.
Comment 3 darkkirb 2024-04-29 19:41:20 UTC
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.