>>> 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 ld.lld: error: relocation R_386_16 cannot be used against local symbol; recompile with -fPIC >>> defined in /var/tmp/portage/sys-boot/mbr-gpt-0.0.1-r1/temp/boot-a4495d.o >>> referenced by boot.S ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20221203-180005 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.6 Python 3.10.8 Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11] *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] 3) Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 system-vm php cli (if any): HEAD of ::gentoo commit 60d17206652d8161a0d55e58a0e8eb91c4fd95f2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 4 19:46:49 2022 +0000 2022-12-04 19:46:49 UTC emerge -qpvO sys-boot/mbr-gpt [ebuild N ] sys-boot/mbr-gpt-0.0.1-r1
Created attachment 840125 [details] emerge-info.txt
Created attachment 840127 [details] emerge-history.txt
Created attachment 840129 [details] environment
Created attachment 840131 [details] etc.clang.tar.bz2
Created attachment 840133 [details] etc.portage.tar.bz2
Created attachment 840135 [details] sys-boot:mbr-gpt-0.0.1-r1:20221204-204521.log
Created attachment 840137 [details] temp.tar.bz2
Can't reproduce. $ CC=clang-15 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-15 clang-15 -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
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a8f5c02b970e437ba0e739ffa39484c87372a4 commit 00a8f5c02b970e437ba0e739ffa39484c87372a4 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2023-01-08 12:21:10 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2023-01-08 12:21:10 +0000 sys-boot/mbr-gpt: treeclean Closes: https://bugs.gentoo.org/884371 Closes: https://bugs.gentoo.org/832025 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/package.mask | 10 ----- sys-boot/mbr-gpt/Manifest | 1 - sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild | 72 ------------------------------- sys-boot/mbr-gpt/mbr-gpt-0.0.1-r2.ebuild | 74 -------------------------------- sys-boot/mbr-gpt/metadata.xml | 11 ----- 5 files changed, 168 deletions(-)