[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ld: /usr/lib/crt0-efi-aarch64.o: relocation R_AARCH64_ABS16 against `EFI_SUBSYSTEM' can not be used when making a shared object



Hi,

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

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

Regards,
Michael

On Mon, 29 Jan 2018 23:49:27 +0100 Michael Biebl <biebl@debian.org> wrote:
> Package: binutils
> Version: 2.29.90.20180122-1
> Severity: grave
> User: debian-arm@lists.debian.org
> 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
> /usr/lib/gcc/aarch64-linux-gnu/7/libgcc.a FAILED:
> 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/gcc/aarch64-linux-gnu/7/libgcc.a ld:
> /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?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: