5.14-rc0: regression when compiling tools/objtool
Hi!
I'm getting build errors trying to build 5.14-rc0. Earlier -rc0 releases built okay. This is 64-bit x86 build, 32-bit x86 and arm build okay for me, too. Attaching config, as it may be related?
Best regards, pavel
CC /fast/l/k/o/64/tools/objtool/check.o
CC /fast/l/k/o/64/tools/objtool/weak.o
CC /fast/l/k/o/64/tools/objtool/arch/x86/special.o
CC /fast/l/k/o/64/tools/objtool/arch/x86/decode.o
In file included from /fast/l/k/tools/objtool/include/objtool/objtool.h:13,
from /fast/l/k/tools/objtool/include/objtool/arch.h:11,
from /fast/l/k/tools/objtool/include/objtool/check.h:11,
from /fast/l/k/tools/objtool/include/objtool/special.h:10,
from arch/x86/special.c:4:
/fast/l/k/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^~~~~~~~compilation terminated.
make[5]: *** [/fast/l/k/tools/build/Makefile.build:97: /fast/l/k/o/64/tools/objtool/arch/x86/special.o] Error 1 make[5]: *** Waiting for unfinished jobs....
In file included from /fast/l/k/tools/objtool/include/objtool/objtool.h:13,
from weak.c:10:
/fast/l/k/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^~~~~~~~compilation terminated.
Signature · 1 line
http://www.livejournal.com/~pavelmachek
Hi!
Quoted 3 lines
I'm getting build errors trying to build 5.14-rc0. Earlier -rc0 releases built okay. This is 64-bit x86 build, 32-bit x86 and arm build okay for me, too. Attaching config, as it may be related?
This is quite annoying, as I'd like to try 5.14. Problem is not fixed in -next, either...
Best regards,
Pavel
Quoted 22 lines
CC /fast/l/k/o/64/tools/objtool/check.o CC /fast/l/k/o/64/tools/objtool/weak.o CC /fast/l/k/o/64/tools/objtool/arch/x86/special.o CC /fast/l/k/o/64/tools/objtool/arch/x86/decode.o In file included from /fast/l/k/tools/objtool/include/objtool/objtool.h:13, from /fast/l/k/tools/objtool/include/objtool/arch.h:11, from /fast/l/k/tools/objtool/include/objtool/check.h:11, from /fast/l/k/tools/objtool/include/objtool/special.h:10, from arch/x86/special.c:4: /fast/l/k/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory #include <gelf.h> ^~~~~~~~compilation terminated.
make[5]: *** [/fast/l/k/tools/build/Makefile.build:97: /fast/l/k/o/64/tools/objtool/arch/x86/special.o] Error 1 make[5]: *** Waiting for unfinished jobs....
In file included from /fast/l/k/tools/objtool/include/objtool/objtool.h:13,from weak.c:10: /fast/l/k/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory #include <gelf.h> ^~~~~~~~compilation terminated.
Signature · 1 line
http://www.livejournal.com/~pavelmachek
Quoted 8 lines · Pavel Machek
Hi!
Quoted 3 lines
I'm getting build errors trying to build 5.14-rc0. Earlier -rc0 releases built okay. This is 64-bit x86 build, 32-bit x86 and arm build okay for me, too. Attaching config, as it may be related?
This is quite annoying, as I'd like to try 5.14. Problem is not fixed in -next, either...
Installing libelf-dev fixed / worked around the problem.
Best regards,
Pavel
Signature · 1 line
http://www.livejournal.com/~pavelmachek