Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741942 - sys-boot/elilo-3.16-r5 fails to compile on llvm-objcopy (missing support for EFI target)
Summary: sys-boot/elilo-3.16-r5 fails to compile on llvm-objcopy (missing support for ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-12 18:41 UTC by Agostino Sarubbo
Modified: 2022-01-25 08:33 UTC (History)
0 users

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


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

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
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 (RETIRED) 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'
"""
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-05 07:31:51 UTC
Ah, it's objcopy, not ld.lld.
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-25 08:33:42 UTC
tinderbox has reproduced this issue with version 3.16-r5 - Updating summary.