[syslinux:master] head.inc: error out on NASM 2.11.06

syslinux-bot for H. Peter Anvin hpa at zytor.com
Tue Mar 8 03:45:03 PST 2016


Commit-ID:  1ac927d131d088e07320942d29f65208c34f08c8
Gitweb:     http://www.syslinux.org/commit/1ac927d131d088e07320942d29f65208c34f08c8
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Tue, 8 Mar 2016 00:20:08 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Tue, 8 Mar 2016 00:21:09 -0800

head.inc: error out on NASM 2.11.06

NASM 2.11.06 is known to miscompile Syslinux, so error out on that
NASM version.

Kind of embarrassing for me...

Signed-off-by: H. Peter Anvin <hpa at zytor.com>

---
 core/head.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/head.inc b/core/head.inc
index 71eb574..b97db35 100644
--- a/core/head.inc
+++ b/core/head.inc
@@ -22,6 +22,8 @@
 
 %if __NASM_MAJOR__ < 2 || (__NASM_MAJOR__ == 2 && __NASM_MINOR__ < 3)
  %error "NASM 2.03 or later required to compile correctly"
+%elif __NASM_VERSION_ID__ == 0x020b0600
+ %fatal "NASM 2.11.06 is known to miscompile Syslinux"
 %endif
 
 %include "macros.inc"


More information about the Syslinux-commits mailing list