x86_64-pc-linux-gnu-gcc -Wall -m32 -nostdinc -nostdlib -Wl,-N,-Ttext,0x600 -DRELOC_ADDR=0x600 boot.S -o boot.elf /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: boot.elf: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:9: boot.elf] Error 1 * ERROR: sys-boot/mbr-gpt-0.0.1-r1::gentoo failed (compile phase): * emake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-20200210-221913 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.41.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.14.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm ghc: The Glorious Glasgow Haskell Compilation System, version 8.0.2 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Thu, 13 Feb 2020 10:37:24 +0000 emerge -qpvO sys-boot/mbr-gpt [ebuild N ] sys-boot/mbr-gpt-0.0.1-r1
Created attachment 613670 [details] emerge-info.txt
Created attachment 613672 [details] emerge-history.txt
Created attachment 613674 [details] environment
Created attachment 613676 [details] etc.portage.tbz2
Created attachment 613678 [details] sys-boot:mbr-gpt-0.0.1-r1:20200213-115713.log
Created attachment 613680 [details] temp.tbz2
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(+)