https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-boot/mbr-gpt fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 648922 [details] build.log build log and emerge --info
Perhaps we should last rite this unmaintained package? sys-boot/syslinux provides a GPT-compatible MBR image.
(In reply to Mike Gilbert from comment #2) > Perhaps we should last rite this unmaintained package? > > sys-boot/syslinux provides a GPT-compatible MBR image. I second this.
syslinux GPT-MBR doesn't boot on my test box, and mbr-gpt does still. I also can't reproduce this error at all. $ CC=clang ebuild mbr-gpt-0.0.1-r2.ebuild clean install * mbr-gpt_0.0.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mbr-gpt_0.0.1.tar.gz to /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/work >>> Source unpacked in /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/work >>> Preparing source in /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/work/mbr-gpt-0.0.1 ... make -j14 -l12 clean rm -f mbr boot.elf *~ >>> Source prepared. >>> Configuring source in /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/work/mbr-gpt-0.0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/work/mbr-gpt-0.0.1 ... make -j14 -l12 CC=clang clang -Wall -m32 -Wl,--no-dynamic-linker -nostdinc -nostdlib -Wl,-N,-Ttext,0x600 -DRELOC_ADDR=0x600 boot.S -o boot.elf objcopy -O binary -R .note -R .comment boot.elf mbr >>> Source compiled. >>> Test phase [not enabled]: sys-boot/mbr-gpt-0.0.1-r2 >>> Install sys-boot/mbr-gpt-0.0.1-r2 into /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/image >>> Completed installing sys-boot/mbr-gpt-0.0.1-r2 into /var/tmp/portage-tmpfs/portage/sys-boot/mbr-gpt-0.0.1-r2/image * Final size of build directory: 68 KiB * Final size of installed tree: 16 KiB * QA Notice: RESTRICT=binchecks prevented checks on these ELF files: * /usr/lib/mbr-gpt/boot.elf