nm -n /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0 >/var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot-syms ld -melf_i386 -T /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/common/tboot.lds /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0 -o /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot ld: error: /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/.tboot.0: unsupported ELF file type 2 ld: warning: cannot find entry symbol 'start' make[2]: *** [Makefile:40: /var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot/tboot] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-boot/tboot-1.9.11/work/tboot-1.9.11/tboot' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-abi32+64-20200908-071541 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 10.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) [6] pypy3 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) * Available Rust versions: [1] rust-1.46.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-8] *) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm [3] jamvm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri Sep 18 11:05:42 PM UTC 2020 emerge -qpvO sys-boot/tboot [ebuild N ] sys-boot/tboot-1.9.11 USE="-custom-cflags -libressl (-selinux)"
Created attachment 661287 [details] emerge-info.txt
Created attachment 661290 [details] emerge-history.txt
Created attachment 661293 [details] environment
Created attachment 661296 [details] etc.portage.tbz2
Created attachment 661299 [details] sys-boot:tboot-1.9.11:20200918-235720.log
Created attachment 661302 [details] temp.tbz2
I can replicate this - tboot 1.9.11 does not link under ld.gold. There's a new version upstream, 1.9.12, that does link under ld.gold. I've submitted a PR for the new version that fixes that and a few other bugs too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302e8ab6fca4bb824c4b9b657fa454ad163ff10e commit 302e8ab6fca4bb824c4b9b657fa454ad163ff10e Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2021-12-19 22:44:08 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2021-12-20 00:54:14 +0000 sys-boot/tboot: Bump to 1.10.3 Closes: https://bugs.gentoo.org/709990 Closes: https://bugs.gentoo.org/725714 Closes: https://bugs.gentoo.org/743439 Closes: https://bugs.gentoo.org/783198 Closes: https://bugs.gentoo.org/815370 Closes: https://github.com/gentoo/gentoo/pull/15053 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: John Helmert III <ajak@gentoo.org> sys-boot/tboot/Manifest | 1 + .../tboot/files/tboot-1.10.3-disable-Werror.patch | 12 ++++ .../tboot/files/tboot-1.10.3-disable-strip.patch | 14 +++++ sys-boot/tboot/tboot-1.10.3.ebuild | 65 ++++++++++++++++++++++ 4 files changed, 92 insertions(+)