Created attachment 580554 [details] build log (bzipped) On my ~amd64 machine with gcc 9.1.0 I see the following problem when trying to merge texlive-core with LTO enabled. Disabling LTO fixed this issue for me. >>> checking whether float word ordering is bigendian... unknown configure: error: Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system. === configuring in cairo failed <<<
Created attachment 580556 [details] emerge --info
Hello! Our texlive packaging is using system cairo, and as per upstream they have removed lto at all. Take a look at https://bugs.freedesktop.org/show_bug.cgi?id=88867
Created attachment 591456 [details, diff] texlive-2019-cairo-config.patch Comment 2 is a bit misleading, and marking the bug RESOLVED UPSTREAM doesn't look right. * While texlive uses system libs, it still insists on configuring the bundled libs. (That didn't happen with texlive-core-2017-r4, so the problem wasn't visible there.) * Upstream cairo (x11-libs/cairo-1.16.0-r3) builds fine with LTO. The configure issue has been fixed in commit 7cfebce (see https://cgit.freedesktop.org/cairo/commit/?id=7cfebce). The removal of LTO support mentioned in the linked bug is about automatically enabled LTO via configure, which is an entirely different beast (See commit c7ff9bb3). * The texlive source actually contains the fixed autoconf macros in the file libs/cairo/cairo-src/build/aclocal.float.m4, but it uses an outdated copy from libs/cairo/m4/float.m4. The attached patch simply replaces the latter file with the broken macros with the former containing the newer upstream version. With the patch, app-text/texlive-core-2019-r4 built successfully with LTO enabled.