>>> Source configured. >>> Compiling source in /var/tmp/portage/sys-boot/mbr-gpt-0.0.1-r1/work/mbr-gpt-0.0.1 ... make -j4 CC=clang clang -Wall -m32 -nostdinc -nostdlib -Wl,-N,-Ttext,0x600 -DRELOC_ADDR=0x600 boot.S -o boot.elf /usr/bin/x86_64-pc-linux-gnu-ld: boot.elf: error: PHDR segment not covered by LOAD segment /usr/bin/x86_64-pc-linux-gnu-ld: warning: boot.elf has a LOAD segment with RWX permissions clang-15: error: linker command failed with exit code 1 (use -v to see invocation) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20220917-070004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 27e349751fc08f79c6f96f84652edf0c93ba9a1f Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Sep 17 14:46:52 2022 +0000 2022-09-17 14:46:52 UTC emerge -qpvO sys-boot/mbr-gpt [ebuild N ] sys-boot/mbr-gpt-0.0.1-r1
Created attachment 808555 [details] emerge-info.txt
Created attachment 808558 [details] emerge-history.txt
Created attachment 808561 [details] environment
Created attachment 808564 [details] etc.portage.tar.bz2
Created attachment 808567 [details] sys-boot:mbr-gpt-0.0.1-r1:20220917-163241.log
Created attachment 808570 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1de25303bd07f70781ec37d648b62fe7c1d3916 commit f1de25303bd07f70781ec37d648b62fe7c1d3916 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2022-12-05 05:19:25 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2022-12-05 05:24:44 +0000 sys-boot/mbr-gpt: fix PHDR/LOAD mess "PHDR segment not covered by LOAD segment", an error meaningless for MBR code. The solution is buried in binutils changelogs: --no-dynamic-linker for obscure cases like this. Reference: https://inbox.sourceware.org/binutils/20200222023739.GB5570@bubble.grove.modra.org/T/#u Closes: https://bugs.gentoo.org/870913 Closes: https://bugs.gentoo.org/709510 Closes: https://bugs.gentoo.org/722206 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild | 69 ++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+)