[syslinux] [PATCH 0/2] Do not use the "red zone" on EFI

Gene Cumm gene.cumm at gmail.com
Sat Nov 28 19:13:15 PST 2015

On Sat, Nov 28, 2015 at 8:58 PM, Ady via Syslinux <syslinux at zytor.com> wrote:

> I'm not sure I understand what you are saying.

I don't think you understand the current build system.  How many times
have you built Syslinux from just source?

> Why exactly the following quote from the referenced commit is not
> relevant / adequate for "doc/building.txt" and/or for the corresponding
> wiki page?

Incorrect use.

> [quote]
> On a x86_64 platform, the following cross-builds syslinux for i386
>  To build for i386: make EFI_BUILD=1 ARCH=i386
> On a x86_64 platform, the following builds syslinux for x86_64
>  To build natively: make EFI_BUILD=1
> [/quote]
> Aren't 'ARCH' and 'EFI_BUILD' still there? Aren't they valid /
> relevant?

Yes and Yes

> Would that usage of "make" fail?

I'd be completely surprised if a working object ever comes out of that
unless aligned.

> Does the 'make "firmware"' usage contradict / supersede / cancel in any
> way the 'ARCH' and/or 'EFI_BUILD' options? Can't all these commands /
> options live together?

The firmwares FORCIBLY set these.  See 1408e6ca

> If the suggested patch were to be merged, would such usage of "make" be
> affected?
> A question for Peter: how is 'make' executed, regarding the above
> options, so to build the current official versions of Syslinux?

To my knowledge, "make" with some special sauce that just marks the
binary with proper versioning.

> I would like to extend such questions to package maintainers, but I
> doubt anyone would answer.


More information about the Syslinux mailing list