On Sun, Oct 26, 2025 at 05:01:16PM +0000, ci_notify@linaro.org wrote:
Dear contributor,
Our automatic CI has detected problems related to your patch(es). Please find some details below.
In tcwg_kernel/llvm-master-aarch64-stable-allnoconfig, after: | commit v6.17.3-130-g86f364ee5842 | Author: Masahiro Yamada masahiroy@kernel.org | Date: Thu Sep 18 10:05:46 2025 +0200 | | kbuild: always create intermediate vmlinux.unstripped | | [ Upstream commit 0ce5139fd96e9d415d3faaef1c575e238f9bbd67 ] | | Generate the intermediate vmlinux.unstripped regardless of | ... 14 lines of the commit log omitted.
This is reproducible for me locally with:
$ make -skj"$(nproc)" ARCH=arm64 CC=clang CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=clang LD=ld.lld clean allnoconfig all aarch64-linux-gnu-objcopy: vmlinux: file format not recognized ...
This does not occur with llvm-objcopy via LLVM=1 nor does it happen with an all GNU setup. This feels like a bug in GNU objcopy though, as this is reproducible with:
$ aarch64-linux-gnu-objcopy --set-section-flags .modinfo=noload vmlinux.unstripped vmlinux.objcopy
$ file vmlinux.unstripped vmlinux.objcopy vmlinux.unstripped: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), statically linked, BuildID[sha1]=18512f67dae70a7fae145b34514054a8b8b3c105, not stripped vmlinux.objcopy: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), statically linked, BuildID[sha1]=18512f67dae70a7fae145b34514054a8b8b3c105, not stripped
$ aarch64-linux-gnu-objcopy --remove-section=.modinfo -w --strip-unneeded-symbol='__mod_device_table__*' vmlinux.objcopy aarch64-linux-gnu-objcopy: vmlinux.objcopy: file format not recognized
$ aarch64-linux-gnu-objcopy --version | head -1 GNU objcopy (GNU Binutils) 2.45.50.20251028
Cheers, Nathan
linaro-toolchain@lists.linaro.org