[syslinux] [PATCH 0/2] Cross-compilation patches

Benoît Allard
Wed, 05 Apr 2017 14:32:04 -0000

Hi there,

I've had issue with the integration of syslinux into the buildroot project
[0]. After some research, it turned out that we were wrongly using the host
toolchain instead of the target toolchain to build syslinux. This gave us
bigger issues (for instance) when trying to link syslinux with gnu-efi, that
was built using the target toolchain.

The first one forces ld to output i386 binary when processing the binary
files generated by nasm (for consistency with the other .o files), and the
second one explicitely uses the host toolchain to build the utilities under
utils/.

Those two patches turned out to be necessary in order to have a proper build.
please consider them for upstream inclusion.

There was an aditionnal third patch [1] I required, but that one isn't
authored by me. I would be grateful if you integrate it in your next release
as well.

Best Regards,
Ben.

[0] https://buildroot.org
[1]
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=846679;filename=syslinux_6.03%2Bdfsg-14.1.debdiff;msg=10

Beno?t Allard (2):
  memdisk: Force ld output format to 32-bits
  utils: Use the host toolchain to build.

 memdisk/Makefile | 2 +-
 utils/Makefile   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

--
2.1.4