boot/syslinux: fix build of efi part with gnu-efi 3.0.10
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Mar 2020 14:23:55 +0000 (15:23 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 4 Apr 2020 21:07:29 +0000 (23:07 +0200)
commit6d5da6d9169dfcd6154357ab6bdecb36b5d413c3
tree668907ce790b8863dfa520deb142bdb811df63df
parentbad75bca315dbd2c69f8a9cb02fa9f27636e3d48
boot/syslinux: fix build of efi part with gnu-efi 3.0.10

The following defconfig:

BR2_x86_i686=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--bleeding-edge-2018.11-1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_TARGET_SYSLINUX=y
BR2_TARGET_SYSLINUX_EFI=y

fails to build due to missing setjmp/longjmp definitions, which is a
consequence of a change introduced between gnu-efi 3.0.9 and 3.0.10.

This build failure is fixed by adding another syslinux paytch, which
has been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/syslinux/0015-efi-main.c-include-efisetjmp.h.patch [new file with mode: 0644]