You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that when we run a kernel build with a new compiler version (e.g. GCC 14) it fails if we previously built the same kernel in the same build directory but with a different compiler version (e.g. GCC 13):
GEN Makefile
mkdir -p .../.out-landlock_local-x86_64-gcc/tools/objtool && make O=.../.out-landlock_local-x86_64-gcc subdir=tools/objtool --no-print-directory -C objtool
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/mod/symsearch.o
INSTALL libsubcmd_headers
make[6]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/include/stdbool.h', needed by '.../.out-landlock_local-x86_64-gcc/tools/objtool/libsubcmd/exec-cmd.o'. Stop.
make[5]: *** [Makefile:80: .../.out-landlock_local-x86_64-gcc/tools/objtool/libsubcmd/libsubcmd-in.o] Error 2
make[4]: *** [Makefile:82: .../.out-landlock_local-x86_64-gcc/tools/objtool/libsubcmd/libsubcmd.a] Error 2
make[3]: *** [Makefile:72: objtool] Error 2
The simple fix is to remove the build directory and start again...
The text was updated successfully, but these errors were encountered:
I noticed that when we run a kernel build with a new compiler version (e.g. GCC 14) it fails if we previously built the same kernel in the same build directory but with a different compiler version (e.g. GCC 13):
The simple fix is to remove the build directory and start again...
The text was updated successfully, but these errors were encountered: