Re: How to build a unified kernel for aarch64?

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

 



On Fr, 12.11.21 00:00, Zameer Manji (zmanji@xxxxxxxxx) wrote:

> I have noticed there exists a systemd-stub for aarch64, the file
> is located at `/usr/lib/systemd/boot/efi/linuxaa64.efi.stub`.
>
> The manpage instructs users to use `objcopy` to build the unified
> kernel from the stub. However when I use objcopy I get the following
> error:
>
> ```
> objcopy: /usr/lib/systemd/boot/efi/linuxaa64.efi.stub: file format not
> recognized
> ```
> I also noticed the GNU binutils bug tracker indicates that PE executables on
> ARM are not yet supported for objcopy [0].
>
> How do systemd developers build the unified kernel on aarch64? Is there
> an alternative toolchain used?
>
> [0]: https://sourceware.org/bugzilla/show_bug.cgi?id=26206

I personally never played around with this for anything
non-x86-64. But I wonder, maybe llvm-objcopy supports this for aarch64?

Lennart

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux