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

Bug 710984

Summary: <sys-devel/llvm-10 (used by sys-devel/clang) incompatible with >=sys-libs/glibc-2.31 (undefined reference to __*_finite)
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED OBSOLETE    
Severity: normal CC: anton.kochkov, herrtimson, Manfred.Knick, ua_gentoo_bugzilla
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=727762
Whiteboard: fixed in 10
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 708318    
Attachments: layman backport from llvm-10.x branch

Description Arfrever Frehtes Taifersar Arahesis 2020-02-27 18:46:51 UTC
Change in glibc 2.31:
https://sourceware.org/git/?p=glibc.git;a=commit;h=7bdb921d70bf9f93948e2e311fef9ef439314e41

Clang bug:
https://bugs.llvm.org/show_bug.cgi?id=45034

Patch proposed for LLVM:
https://reviews.llvm.org/D74712

Example errors during linking:
undefined reference to `__log_finite'
undefined reference to `__log2_finite'
undefined reference to `__log10_finite'
undefined reference to `__exp_finite'
undefined reference to `__exp2_finite'
undefined reference to `__pow_finite'
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2020-03-23 21:08:05 UTC
OK we should probably wait for llvm-10 release before rekeywording glibc-2.31
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2020-04-23 10:04:35 UTC
This is fixed in llvm-10, which is now in the tree
Comment 4 Arfrever Frehtes Taifersar Arahesis 2020-04-23 21:46:36 UTC
I think that LLVM maintainers wanted to backport fix to new revision of at least sys-devel/llvm 9.0.1 (and less likely 7.1.0 and 8.0.1).
Comment 5 tt_1 2020-08-17 06:19:19 UTC
How does this bug manifest itself? I was able to recompile llvm-9 with glibc-2.31-r6 today.
Comment 6 tt_1 2020-08-17 06:41:07 UTC
Created attachment 655054 [details, diff]
layman backport from llvm-10.x branch

I did a silly little backport myself. I can test it, but need to know how to reproduce first.