Summary: | app-text/texlive-core-2021-r1: build fails with -flto=thin: Unknown float word ordering. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nvinson234 |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | l_indien, sam, tex |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=726200 https://bugs.gentoo.org/show_bug.cgi?id=688544 https://bugs.gentoo.org/show_bug.cgi?id=583076 https://bugs.gentoo.org/show_bug.cgi?id=927714 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 887541 | ||
Bug Blocks: | 618550 | ||
Attachments: |
build.log
config.log texlive-core-2021-r1.ebuild clang-lto.patch |
Description
nvinson234
2022-06-20 00:23:16 UTC
Created attachment 786359 [details]
build.log
Created attachment 786362 [details]
config.log
Created attachment 786365 [details]
texlive-core-2021-r1.ebuild
Build failure is a result of an M4 macro in the bundled cairo. The macro tries to determine floating-point byte-order by checking the resultant conftest.o file.
When -flto is enabled, the expected byte sequence is not present in LLVM IR bitstream file, so the test fails. This updated ebuild applies a patch (also attached) that updates the test so it checks the built executable, conftest, instead.
This patch was ported from the x11-libs/cairo-1.16.0-r5 package via ebuild commands.
Created attachment 786368 [details, diff]
clang-lto.patch
The patch the updated ebuild requires.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5760171b4f4159669224f6a31652f1c781a517b commit b5760171b4f4159669224f6a31652f1c781a517b Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-21 01:17:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-21 01:24:44 +0000 app-text/texlive-core: fix build with LTO using llvm-strings Bug in bundled Cairo, already fixed in x11-libs/cairo. Bug: https://bugs.gentoo.org/726200 Closes: https://bugs.gentoo.org/853121 Signed-off-by: Sam James <sam@gentoo.org> .../files/texlive-core-2021-cairo-strings.patch | 34 ++ app-text/texlive-core/texlive-core-2021-r3.ebuild | 361 +++++++++++++++++++++ 2 files changed, 395 insertions(+) *** Bug 887535 has been marked as a duplicate of this bug. *** |