[upstream] [ppc64le] scripts/mod/mk_elfconfig: cannot execute binary file: Exec format error
Snippet of test failure
â„¹ï¸ Workaround for cross compiling non x86_64 kernels
/usr/src/kernels/6.2.0-rc2/include/config/cc/can/link/static.h not found.
make: Entering directory '/usr/src/kernels/6.2.0-rc2'
HOSTCC scripts/basic/fixdep
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make: Leaving directory '/usr/src/kernels/6.2.0-rc2'
make: Entering directory '/usr/src/kernels/6.2.0-rc2'
SYNC include/config/auto.conf.cmd
HOSTLD scripts/dtc/dtc
HOSTLD scripts/dtc/fdtoverlay
UPD include/generated/compile.h
CC scripts/mod/empty.o
MKELF scripts/mod/elfconfig.h
/bin/sh: line 1: scripts/mod/mk_elfconfig: cannot execute binary file: Exec format error
make[1]: *** [scripts/mod/Makefile:26: scripts/mod/elfconfig.h] Error 126
make[1]: *** Deleting file 'scripts/mod/elfconfig.h'
make: *** [Makefile:1285: prepare0] Error 2
make: Leaving directory '/usr/src/kernels/6.2.0-rc2'
⌠Failed applying cross compiling workaround
Test logs
DataWarehouse issue
https://datawarehouse.cki-project.org/issue/1794
In case opening the links above result in a 404 page on DataWarehouse, please make sure you are correctly logged into DataWarehouse via Red Hat SSO.