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
Created attachment 918811 [details] build log
Created attachment 918812 [details] emerge --info
same as #953414