Currently, the UEFI binaries produced by syslinux match the target architecture. For 64-bit systems with 32-bit UEFI it may be desirable to support building 32-bit binaries.
It would be great if this would be fixed. It is now a really long time, this is not fixed Maybe it would be a great idea to change the name from the grub flags There it gives the GRUB_PLATFORMS=. Why not change it to BOOTABLE_PLATFORMS= so we could use the same names for sys-boot/grub and also for sys-boot/syslinux I have tried to do myself, but I am not a pro in writing ebuilds, and so i failed.
At the time when this bug report was created, the dependencies (especially sys-boot/gnu-efi) were not multilib yet. But now they are. So this could now be implemented with reasonable effort. Do note that I would rather use ABI_X86 USE_EXPAND for toggling this, as syslinux (unlike grub) is x86-only.
I aggree, I also had thought first, to use the ABI_X86, but in fact the idea I described above is because the function for syslinux it has, is to choose the boottargets syslinux will have, so I think it would be more clear to see over the flag describtion what it really do.
Oh and I have forgotten, so it also would be possible to build only the efi target, or only the pc target, if you not need the other
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cb8a9930524cd70efad59529c9e1936dcb0bf3 commit c8cb8a9930524cd70efad59529c9e1936dcb0bf3 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2022-05-30 20:28:26 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-05-30 20:32:13 +0000 sys-boot/syslinux: replace efi32 and efi64 with ABI_X86 flags Closes: https://bugs.gentoo.org/584464 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-boot/syslinux/metadata.xml | 3 +-- sys-boot/syslinux/syslinux-6.04_pre3.ebuild | 29 +++++++++++++++++------------ 2 files changed, 18 insertions(+), 14 deletions(-)