linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 5.14-rc0: regression when compiling tools/objtool
@ 2021-07-11  9:17 Pavel Machek
  2021-07-18 12:18 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2021-07-11  9:17 UTC (permalink / raw)
  To: kernel list, jpoimboe, peterz, mingo


[-- Attachment #1.1: Type: text/plain, Size: 1444 bytes --]

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 #1.2: config.gz --]
[-- Type: application/gzip, Size: 31528 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 5.14-rc0: regression when compiling tools/objtool
  2021-07-11  9:17 5.14-rc0: regression when compiling tools/objtool Pavel Machek
@ 2021-07-18 12:18 ` Pavel Machek
  2021-07-18 12:29   ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2021-07-18 12:18 UTC (permalink / raw)
  To: kernel list, jpoimboe, peterz, mingo

[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]

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?

This is quite annoying, as I'd like to try 5.14. Problem is not fixed
in -next, either...

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 5.14-rc0: regression when compiling tools/objtool
  2021-07-18 12:18 ` Pavel Machek
@ 2021-07-18 12:29   ` Pavel Machek
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2021-07-18 12:29 UTC (permalink / raw)
  To: kernel list, jpoimboe, peterz, mingo

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

On Sun 2021-07-18 14:18:22, Pavel Machek wrote:
> 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?
> 
> 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

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-18 12:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11  9:17 5.14-rc0: regression when compiling tools/objtool Pavel Machek
2021-07-18 12:18 ` Pavel Machek
2021-07-18 12:29   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).