Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741942 - sys-boot/elilo-3.16-r3 fails to compile
Summary: sys-boot/elilo-3.16-r3 fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich
Depends on:
Blocks: LD-is-lld
  Show dependency tree
Reported: 2020-09-12 18:41 UTC by Agostino Sarubbo
Modified: 2020-09-26 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,20.44 KB, text/plain)
2020-09-12 18:41 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-12 18:41:39 UTC

Issue: sys-boot/elilo-3.16-r3 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

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 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/ -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 -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.efi
llvm-objcopy: [0;1;31merror: [0minvalid output format: 'efi-app-x86_64'