From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/1] package/gnu-efi: fix efilink for systemd-boot
Date: Sat, 26 Oct 2019 09:19:03 +0200 [thread overview]
Message-ID: <20191026091903.79181e2d@windsurf.home> (raw)
In-Reply-To: <20191025212816.68218-1-james.hilliard1@gmail.com>
On Fri, 25 Oct 2019 15:28:16 -0600
James Hilliard <james.hilliard1@gmail.com> wrote:
> This fixes a compilation error when building with systemd with systemd-boot
> enabled.
>
> Fixes:
> >>> systemd 241 Building
> PATH="/home/buildroot/buildroot/output/host/bin:/home/buildroot/buildroot/output/host/sbin:/home/buildroot/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" LC_ALL=en_US.UTF-8 PYTHONNOUSERSITE=y /home/buildroot/buildroot/output/host/bin/ninja -j33 -C /home/buildroot/buildroot/output/build/systemd-241//build
> ninja: Entering directory `/home/buildroot/buildroot/output/build/systemd-241//build'
> [458/805] Generating disk.c.o with a custom command.
> FAILED: src/boot/efi/disk.c.o
> /home/buildroot/buildroot/output/host/bin/i686-buildroot-linux-gnu-gcc -c ../src/boot/efi/disk.c -o src/boot/efi/disk.c.o -Wall -Wextra -std=gnu90 -nostdinc -ggdb -O0 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -Wsign-compare -Wno-missing-field-initializers -isystem /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi -isystem /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/ia32 -include src/boot/efi/efi_config.h -include version.h
> In file included from /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/efilib.h:25,
> from ../src/boot/efi/disk.c:4:
> /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/efilink.h:5:10: fatal error: stdint.h: No such file or directory
> #include <stdint.h>
> ^~~~~~~~~~
> compilation terminated.
>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> ...evert-efilink-fix-build-with-gcc-4.8.patch | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 package/gnu-efi/0002-Revert-efilink-fix-build-with-gcc-4.8.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2019-10-26 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 21:28 [Buildroot] [PATCH v3 1/1] package/gnu-efi: fix efilink for systemd-boot James Hilliard
2019-10-26 7:19 ` Thomas Petazzoni [this message]
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=20191026091903.79181e2d@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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