Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 741942

Summary: sys-boot/elilo-3.16-r3 fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Sergei Trofimovich <slyfox>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 731004    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-12 18:41:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-boot/elilo-3.16-r3 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 is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-12 18:41:40 UTC
Created attachment 659847 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich gentoo-dev 2020-09-12 19:25:20 UTC
ld.lld does not support EFI app output:

"""
ld.lld -nostdlib -znocombreloc -T /usr/lib64/elf_x86_64_efi.lds -shared -Bsymbolic -L/usr/lib64 -L/usr/lib64 /usr/lib64/crt0-efi-x86_64.o elilo.o getopt.o strops.o loader.o fileops.o util.o vars.o alloc.o chooser.o config.o initrd.o alternate.o bootparams.o gunzip.o console.o fs/fs.o choosers/choosers.o devschemes/devschemes.o x86_64/sysdeps.o glue_localfs.o glue_netfs.o -o elilo.so -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc.a
llvm-objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym -j .rel \
	   -j .rela -j .reloc --target=efi-app-x86_64 elilo.so elilo.efi
llvm-objcopy: [0;1;31merror: [0minvalid output format: 'efi-app-x86_64'
"""