11089e2062
When we use the cross-compiler to build syslinux with a recent binutils version, it fails with: /builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld -Bsymbolic -pie -E --hash-style=gnu -T /builds/arnout/buildroot/output/build/syslinux-6.03/core/i386/syslinux.ld -M -o ldlinux.elf ldlinux.o \ --start-group libcom32.a --whole-archive /builds/arnout/buildroot/output/build/syslinux-6.03/bios/com32/lib/libcom32core.a libldlinux.a --end-group -N --no-omagic \ > ldlinux.map /builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld: ldlinux.elf: Not enough room for program headers, try linking with -N /builds/arnout/buildroot/output/host/bin/i586-buildroot-linux-uclibc-ld: final link failed: Bad value /builds/arnout/buildroot/output/build/syslinux-6.03/core/Makefile:167: recipe for target 'ldlinux.elf' failed Backport an upstream patch that reorganises the i386 bios build by removing some symbols and making others hidden. To simplify the backport, an additional patch that also touches the link script is also included - it anyway looks like that patch could be relevant as well. Partially fixes: https://gitlab.com/arnout/buildroot/-/jobs/28979377 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> |
||
---|---|---|
.. | ||
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 | ||
Config.in | ||
syslinux.hash | ||
syslinux.mk |