Discussion:
ld: /usr/lib/crt0-efi-aarch64.o: relocation R_AARCH64_ABS16 against `EFI_SUBSYSTEM' can not be used when making a shared object
Michael Biebl
2018-01-30 23:22:30 UTC
Permalink
Hi,

for some reason this email didn't make it to the debian-arm mailing list
despite X-Debbugs-Cc: debian-***@lists.debian.org

So forwarding explicitly.
It would be great, if you can have a look.

Regards,
Michael
Package: binutils
Version: 2.29.90.20180122-1
Severity: grave
Usertags: arm64
With latest versions of binutils (including 2.30-1), ld fails to
properly link systemd-boot on arm64.
The error message is
[847/1873] ld -o src/boot/efi/systemd_boot.so -T
/usr/lib/elf_aarch64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc
-L /usr/lib /usr/lib/crt0-efi-aarch64.o --defsym=EFI_SUBSYSTEM=0xa
src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o
src/boot/efi/pe.c.o src/boot/efi/util.c.o src/boot/efi/boot.c.o
src/boot/efi/console.c.o src/boot/efi/shim.c.o -lefi -lgnuefi
src/boot/efi/systemd_boot.so ld -o src/boot/efi/systemd_boot.so -T
/usr/lib/elf_aarch64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc
-L /usr/lib /usr/lib/crt0-efi-aarch64.o --defsym=EFI_SUBSYSTEM=0xa
src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o
src/boot/efi/pe.c.o src/boot/efi/util.c.o src/boot/efi/boot.c.o
src/boot/efi/console.c.o src/boot/efi/shim.c.o -lefi -lgnuefi
/usr/lib/crt0-efi-aarch64.o: relocation R_AARCH64_ABS16 against
`EFI_SUBSYSTEM' can not be used when making a shared object
See also
https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=arm64&ver=236-4&stamp=1517247349&raw=0
https://buildd.debian.org/status/fetch.php?pkg=systemd&arch=arm64&ver=236-4&stamp=1517178536&raw=0
This is a regression from previous releases.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
Loading...