[syslinux] Patches from Debian

Ady Ady ady-sf at hotmail.com
Mon Oct 23 10:19:43 PDT 2017


> On Mon, 23 Oct 2017 15:35:00 +0000
> Ady Ady via Syslinux <syslinux at zytor.com> wrote:
> 
> > > > Let's not forget that upstream Syslinux FTBFS when building with 
> > > > binutils 2.27+:
> > > > 
> > > >  "ldlinux.elf: Not enough room for program headers"
> > > > 
> > > > Workaround in Debian's package:
> > > > _ Add --no-dynamic-linker to link lines
> > > > _ 0014_fix_ftbfs_no_dynamic_linker.patch
> > > >    
> > > 
> > > After updating to the current syslinux development state, that
> > > patch is no longer required (i.e. syslinux builds fine without
> > > it).  Therefore I intend to drop the patch from Debian once I
> > > upload a new version and have not included it in my previous mail.
> > 
> >  
> > I don't know of anything in newer binutils versions that would avoid 
> > the building problem. Any clues?
> 
> It's not a binutils problem, or at least not *only* a binutils problem…
> it appears to have been fixed:  I can still reproduce the original
> "fails to build from source" if I re-compile the old version
> without the patch (using the same version for all the build
> dependencies).  The new syslinux version from git builds fine without
> the patch.
> 
> Regards
> Lukas

 
Thank you.


When you say "new syslinux version from git", do you mean the git head 
in anonscm.debian.org/git... (Debian's source code for Syslinux-related 
packages), or rather the upstream Syslinux git head (in repo.or.cz... 
or in git.zytor.com...)?


Either way, your test's results would suggest that the problem might be 
avoided when/if:

_ updating the gnu-efi submodule in Syslinux;

_ changing the sort (order) within Makefiles so as to make the build 
more reproducible.

If I'm not mistaken, these 2 are the relevant differences between the 
code that triggers the FTBFS and the code that doesn't.

Regards,
Ady.



More information about the Syslinux mailing list