Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710984 - <sys-devel/llvm-10 (used by sys-devel/clang) incompatible with >=sys-libs/glibc-2.31 (undefined reference to __*_finite)
Summary: <sys-devel/llvm-10 (used by sys-devel/clang) incompatible with >=sys-libs/gli...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard: fixed in 10
Keywords:
Depends on:
Blocks: glibc-2.31
  Show dependency tree
 
Reported: 2020-02-27 18:46 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2020-08-17 06:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
layman backport from llvm-10.x branch (llvm-9-backport.patch,14.10 KB, patch)
2020-08-17 06:41 UTC, tt_1
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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.