Summary: | dev-libs/libbsd fails to build with glibc-2.38 and -fno-semantic-interposition | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ninpo <ninpo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freedesktop-bugs, holger, kostadinshishmanov, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101270 https://bugs.gentoo.org/show_bug.cgi?id=927809 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 911592, 915653 | ||
Attachments: | libbsd build.log |
Description
Ninpo
2023-08-05 00:31:56 UTC
I can build libbsd-0.11.7-r2 just fine with glibc-2.38 using CFLAGS="-pipe -O2 -march=native -fno-semantic-interposition". This seems to be more of an LTO problem. It'll be the combination of the two with inclining I guess. Definitely a combination, as it builds fine with LTO but without the -fno-semantic-interposition flag. (In reply to Sam James from comment #2) > It'll be the combination of the two with inclining I guess. s/inclining/inlining... Upstream bug: https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae193c0705d6114f392e6757975731c828d0d18 commit 8ae193c0705d6114f392e6757975731c828d0d18 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2023-10-28 16:06:54 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2023-10-28 16:07:47 +0000 dev-libs/libbsd: Filter -fno-semantic-interposition, bug 911726 Upstream seems not to be interested in fixing this. Closes: https://bugs.gentoo.org/911726 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-libs/libbsd/libbsd-0.11.7-r2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f6b6137ac36f8bd2d6aaf30e31a6ae64fc2e27 commit 32f6b6137ac36f8bd2d6aaf30e31a6ae64fc2e27 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-14 03:21:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-14 03:28:10 +0000 dev-libs/libbsd: add 0.11.8 Bug: https://bugs.gentoo.org/911726 Closes: https://bugs.gentoo.org/898312 Closes: https://bugs.gentoo.org/915068 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libbsd/Manifest | 2 ++ dev-libs/libbsd/libbsd-0.11.8.ebuild | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) still fails for me with the combination of LTO and -fno-semantic-interposition The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df commit 56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-18 17:50:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-18 17:52:27 +0000 dev-libs/libbsd: filter -fno-semantic-interposition again It's needed for LTO at least. Bug: https://bugs.gentoo.org/911726 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libbsd/libbsd-0.11.8.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) |