Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584464 - sys-boot/syslinux-6 multilib support
Summary: sys-boot/syslinux-6 multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-29 17:46 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2022-05-30 20:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2016-05-29 17:46:07 UTC
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.
Comment 1 raimund mathis 2018-07-05 14:25:20 UTC
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.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-07-05 22:12:51 UTC
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.
Comment 3 raimund mathis 2018-07-06 12:25:57 UTC
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.
Comment 4 raimund mathis 2018-07-06 12:29:13 UTC
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
Comment 5 Larry the Git Cow gentoo-dev 2022-05-30 20:32:34 UTC
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(-)