Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949655 - sys-apps/fwupd-efi-1.7: fails to link with ld.lld
Summary: sys-apps/fwupd-efi-1.7: fails to link with ld.lld
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John M. Harris, Jr.
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-12 14:52 UTC by NHO
Modified: 2025-04-12 16:02 UTC (History)
5 users (show)

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


Attachments
build log (build.log,64.68 KB, text/x-log)
2025-02-12 14:53 UTC, NHO
Details
emerge --info (einfo-clang-musl.txt,5.39 KB, text/plain)
2025-02-12 14:53 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2025-02-12 14:52:59 UTC
In clang-musl container:

/usr/lib/llvm/19/bin/clang -nostdlib -o efi/fwup.so -Wl,-T -Wl,/var/tmp/portage/sys-apps/fwupd-efi-1.7/work/fwupd-efi-1.7/efi/lds/elf_x86_64_efi.lds -Wl,-shared -Wl,-Bsymbolic -Wl,-nostdlib -Wl,-znocombreloc -Wl,-znorelro -Wl,-L -Wl,/usr/lib -Wl,-L -Wl,/usr/lib -Wl,/usr/lib/crt0-efi-x86_64.o efi/fwupdate.o efi/fwup-debug.o efi/fwup-efi.o efi/fwup-common.o efi/fwup-sbat.o efi/fwup-sbom.o -lefi -lgnuefi /usr/lib/llvm/19/bin/../../../../lib/clang/19/lib/linux/libclang_rt.builtins-x86_64.a
ld.lld: error: -shared and -pie may not be used together



Reproducible: Always
Comment 1 NHO 2025-02-12 14:53:26 UTC
Created attachment 918811 [details]
build log
Comment 2 NHO 2025-02-12 14:53:46 UTC
Created attachment 918812 [details]
emerge --info
Comment 3 Michel Ganguin 2025-04-12 16:02:57 UTC
same as #953414