From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15586] New: pc_x86_64_bios_defconfig: Does not build Linux kernel due to missing header file
Date: Sun, 21 May 2023 19:54:57 +0000 [thread overview]
Message-ID: <bug-15586-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=15586
Bug ID: 15586
Summary: pc_x86_64_bios_defconfig: Does not build Linux kernel
due to missing header file
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: jbglaw@lug-owl.de
CC: buildroot@uclibc.org
Target Milestone: ---
[build 2023-05-21 14:43:31] /usr/bin/gcc -O2 -isystem
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/host/include
-L/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/host/lib
-Wl,-rpath,/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/host/lib
-Wp,-MD,/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/arch/x86/.special.o.d
-Wp,-MT,/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/arch/x86/special.o
-Werror -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security
-Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked
-Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef
-Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow
-Wno-switch-default -Wno-switch-enum -Wno-packed -Wno-nested-externs -Wall
-Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu11
-Wdeclaration-after-statement -g
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/include
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/arch/x86/include/uapi
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/arch/x86/include
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/arch/x86/include
-DLIBELF_USE_DEPRECATED
-I/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/lib
-D"BUILD_STR(s)=#s" -c -o
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/arch/x86/special.o
arch/x86/special.c
[build 2023-05-21 14:43:31] In file included from
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include/objtool/objtool.h:13,
[build 2023-05-21 14:43:31] from
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include/objtool/arch.h:11,
[build 2023-05-21 14:43:31] from
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include/objtool/check.h:11,
[build 2023-05-21 14:43:31] from
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include/objtool/special.h:10,
[build 2023-05-21 14:43:31] from arch/x86/special.c:4:
[build 2023-05-21 14:43:31]
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/include/objtool/elf.h:10:10:
fatal error: gelf.h: No such file or directory
[build 2023-05-21 14:43:31] 10 | #include <gelf.h>
[build 2023-05-21 14:43:31] | ^~~~~~~~
[build 2023-05-21 14:43:31] compilation terminated.
[build 2023-05-21 14:43:31] make[5]: ***
[/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/build/Makefile.build:97:
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/arch/x86/special.o]
Error 1
[build 2023-05-21 14:43:31] make[4]: ***
[/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/build/Makefile.build:139:
arch/x86] Error 2
[build 2023-05-21 14:43:31] make[3]: *** [Makefile:54:
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/tools/objtool/objtool-in.o]
Error 2
[build 2023-05-21 14:43:31] make[2]: *** [Makefile:73: objtool] Error 2
[build 2023-05-21 14:43:31] make[1]: *** [Makefile:1442: tools/objtool] Error 2
[build 2023-05-21 14:43:31] make[1]: Leaving directory
'/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24'
[build 2023-05-21 14:43:31] make: *** [package/pkg-generic.mk:293:
/var/lib/laminar/run/buildroot-pc_x86_64_bios_defconfig/5/buildroot/output/build/linux-6.1.24/.stamp_built]
Error 2
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-05-21 19:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-21 19:54 bugzilla [this message]
2024-06-15 15:09 ` [Buildroot] [Bug 15586] pc_x86_64_bios_defconfig: Does not build Linux kernel due to missing header file bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-15586-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox