5.14-rc0: regression when compiling tools/objtool

From: Pavel Machek
Date: Sun Jul 11 2021 - 05:17:37 EST


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.

--
http://www.livejournal.com/~pavelmachek

Attachment: config.gz
Description: application/gzip

Attachment: signature.asc
Description: PGP signature