kumquat-buildroot/boot/syslinux
Yann E. MORIN e53a8593b4 boot/syslinux: carry fix for build failures with binutils 2.31+
From a report on the syslinux mailing list [0]:

    The GNU linker now writes two segments of type PT_LOAD into the
    program header. However, this is not supported by the wrapper
    script that converts the shared object to an .efi executable.
    As per comment in that file:

        (...) Although there may be several LOAD program headers,
        only one is currently copied.

    A simple workaround I've found to work is to ask the linker to put
    everything into one PT_LOAD program header.

The issue is ackowledged in the syslinux wiki page about building
syslinux [1]. This page refers to various resources, of which a Debian
patch [2].

This information is also referenced in #11861.

Fixes: #11861

[0] https://www.syslinux.org/archives/2018-August/026167.html
[1] https://wiki.syslinux.org/wiki/index.php?title=Building
[2] https://salsa.debian.org/images-team/syslinux/-/blob/debian/master/debian/patches/0017-single-load-segment.patch

Reported-by: Sam Lancia <sam@gpsm.co.uk>
Reported-by: Meliodas <meliodasren01@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-01-27 17:46:51 +01:00
..
0001-bios-Fix-alignment-change-with-gcc-5.patch
0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch
0003-memdisk-Force-ld-output-format-to-32-bits.patch
0004-utils-Use-the-host-toolchain-to-build.patch
0005-lzo-Use-the-host-toolchain-for-prepcore.patch
0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch
0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch
0008-efi-wrapper-build-it-with-the-host-toolchain.patch
0009-bios-Don-t-try-to-guess-the-sections-alignment.patch
0010-core-Clean-up-the-i386-bios-build.patch
0011-extlinux-Use-the-host-toolchain-to-build.patch
0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch
0013-Fix-build-with-gnu-efi-version-3.0.9.patch
0014-Fix-build-with-binutils-note-gnu-property-section.patch
0015-efi-main.c-include-efisetjmp.h.patch
0016-Workaround-multiple-definition-of-symbol-errors.patch
0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch
0018-single-load-segment.patch boot/syslinux: carry fix for build failures with binutils 2.31+ 2024-01-27 17:46:51 +01:00
Config.in
syslinux.hash
syslinux.mk