Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685332 - sys-devel/gettext-0.19.8.1: fails on missing log10 when lto enabled
Summary: sys-devel/gettext-0.19.8.1: fails on missing log10 when lto enabled
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2019-05-08 07:45 UTC by fkater
Modified: 2019-05-17 06:39 UTC (History)
3 users (show)

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


Attachments
gettext-log10_libm.diff (gettext-log10_libm.diff,203 bytes, patch)
2019-05-17 06:39 UTC, ak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fkater 2019-05-08 07:45:17 UTC
gettext-0.19.8.1 with lto enabled fails on missing log10 in libm (glibc).

Tested on 5+ gentoo boxes, with gcc-8.3.0 and gcc-9.1.0.

Workaround: disable lto for gettext.

Please add this to the lto blocker.
Comment 1 Fabio Coatti 2019-05-13 08:28:58 UTC
confirmed also in 0.20.0 and 0.20.1
Comment 2 ak 2019-05-17 06:39:44 UTC
Created attachment 576982 [details, diff]
gettext-log10_libm.diff

Same here. It doesn't fail with ld=bfd.
This patch makes gold/lto possible. There's probably a more sophisticated way by fixing some m4 macro like gettext-tools/gnulib-m4/log10.m4 or such, go figure