On Fri, 28 Jun 2024 at 17:21, Tj <tj.iam.tj@xxxxxxxxx> wrote: > > Commit 5134acb15d9ef27aa2b90aad46d4e89fcef79fdc may be the source of a regression that means aarch64 builds are unbootable when using recent binutils and GNU toolchain. > > Originally found in Debian [0] and reported upstream to binutils [1] it isn't entirely clear where the fix should be. The binutils bug report is the current focus on attention. > > I found that reverting this DISCARD allows aarch64 kernel to start. > > [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074111 > [1] https://sourceware.org/bugzilla/show_bug.cgi?id=31924 > That commit only affects zboot images, which Debian does not use afaik. Could you check the kernel .config for CONFIG_EFI_ZBOOT ?