https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-crypt/sequoia-sq-0.26.0 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 787622 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:124: undefined reference to `BZ2_bzCompressInit' /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:157: undefined reference to `BZ2_bzCompress' /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:215: undefined reference to `BZ2_bzDecompressInit' /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:232: undefined reference to `BZ2_bzDecompress' /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:309: undefined reference to `BZ2_bzCompressEnd' /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:314: undefined reference to `BZ2_bzDecompressEnd' error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1
Compiles fine right now. Unclear what this has to do with LTO...
For unknown reasons, at that time I was asked to block bug 618550 for each issue from lto_tinderbox. The same applies to all bugs that block bug 618550 that looks to be unrelated to lto