You are not logged in.
I've been rebuilding the same kernel for a few months now. After the latest gcc update I get
$ make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
DESCEND bpf/resolve_btfids
make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include/stddef.h', needed by '/path/kernel/linux-6.0-rc7/tools/bpf/resolve_btfids/fixdep.o'. Stop.
make[3]: *** [Makefile:47: /path/kernel/linux-6.0-rc7/tools/bpf/resolve_btfids/fixdep-in.o] Error 2
make[2]: *** [/path/kernel/linux-6.0-rc7/tools/build/Makefile.include:5: fixdep] Error 2
make[1]: *** [Makefile:76: bpf/resolve_btfids] Error 2
make: *** [Makefile:1348: tools/bpf/resolve_btfids] Error 2I suppose this is an incompatibility with my current gcc
$ gcc --version
gcc (GCC) 12.2.1 20230201I wouldn' t want to downgrade gcc just to try, what can be the problem here?
Last edited by potuz (2023-03-28 19:21:50)
Offline
I should add: I would want to avoid a `make clean` since it will require me to recompile a bunch of kernel modules manually
Offline
marking as solved since I couldn' t avoid the make clean.
Offline