...> nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ > -DHEXDATE="0x56dc3c62" \ > -Di386 \ > -I/tmp/syslinux-6.04-pre1/core/ \ > -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d /tmp/syslinux-6.04-pre1/core/ldlinux.asm > nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ > -DHEXDATE="0x56dc3c62" \ > -Di386 \ > -I/tmp/syslinux-6.04-pre1/core/ \ > -l isolinux.lsr -o isolinux.o -MP -MD ./.isolinux.o.d /tmp/syslinux-6.04-pre1/core/isolinux.asm > diskstart.inc:438: error: symbol references not supported in preprocess-only mode > diskstart.inc:438: error: non-constant value given to `%if' > diskstart.inc:439: error: symbol references not supported in preprocess-only mode > diskstart.inc:439: error: non-constant value given to `%assign'...> /tmp/syslinux-6.04-pre1/core/isolinux.asm:23: fatal: unable to open include file `head.inc' > /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'isolinux.o' failed > make[3]: *** [isolinux.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > /tmp/syslinux-6.04-pre1/core/ldlinux.asm:26: fatal: unable to open include file `head.inc' > /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'ldlinux.o' failed > make[3]: *** [ldlinux.o] Error 1 > make[3]: Leaving directory '/tmp/syslinux-6.04-pre1/bios/core' > /tmp/syslinux-6.04-pre1/Makefile:287: recipe for target 'core' failed > make[2]: *** [core] Error 2 > make[2]: Leaving directory '/tmp/syslinux-6.04-pre1/bios' > /tmp/syslinux-6.04-pre1/Makefile:256: recipe for target 'bios' failed > make[1]: *** [bios] Error 2 > make[1]: Leaving directory '/tmp/syslinux-6.04-pre1' > Makefile:102: recipe for target 'all' failed > make: *** [all] Error 2...> $ nasm -version > NASM version 2.11.06 compiled on Feb 18 2015 >... Builds OK with: $ nasm -version NASM version 2.11.08 compiled on Mar 6 2016 [Nasm-devel] Syslinux 6.03 build is broken by nasm upgrade 2.11.05 to 2.11.06 https://sourceforge.net/p/nasm/mailman/message/33074214
On 06.03.2016 16:47, poma wrote:> ... >> nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ >> -DHEXDATE="0x56dc3c62" \ >> -Di386 \ >> -I/tmp/syslinux-6.04-pre1/core/ \ >> -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d /tmp/syslinux-6.04-pre1/core/ldlinux.asm >> nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ >> -DHEXDATE="0x56dc3c62" \ >> -Di386 \ >> -I/tmp/syslinux-6.04-pre1/core/ \ >> -l isolinux.lsr -o isolinux.o -MP -MD ./.isolinux.o.d /tmp/syslinux-6.04-pre1/core/isolinux.asm >> diskstart.inc:438: error: symbol references not supported in preprocess-only mode >> diskstart.inc:438: error: non-constant value given to `%if' >> diskstart.inc:439: error: symbol references not supported in preprocess-only mode >> diskstart.inc:439: error: non-constant value given to `%assign' > ... >> /tmp/syslinux-6.04-pre1/core/isolinux.asm:23: fatal: unable to open include file `head.inc' >> /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'isolinux.o' failed >> make[3]: *** [isolinux.o] Error 1 >> make[3]: *** Waiting for unfinished jobs.... >> /tmp/syslinux-6.04-pre1/core/ldlinux.asm:26: fatal: unable to open include file `head.inc' >> /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'ldlinux.o' failed >> make[3]: *** [ldlinux.o] Error 1 >> make[3]: Leaving directory '/tmp/syslinux-6.04-pre1/bios/core' >> /tmp/syslinux-6.04-pre1/Makefile:287: recipe for target 'core' failed >> make[2]: *** [core] Error 2 >> make[2]: Leaving directory '/tmp/syslinux-6.04-pre1/bios' >> /tmp/syslinux-6.04-pre1/Makefile:256: recipe for target 'bios' failed >> make[1]: *** [bios] Error 2 >> make[1]: Leaving directory '/tmp/syslinux-6.04-pre1' >> Makefile:102: recipe for target 'all' failed >> make: *** [all] Error 2 > ... >> $ nasm -version >> NASM version 2.11.06 compiled on Feb 18 2015 >> > ... > > Builds OK with: > $ nasm -version > NASM version 2.11.08 compiled on Mar 6 2016 > > [Nasm-devel] Syslinux 6.03 build is broken by nasm upgrade 2.11.05 to 2.11.06 > https://sourceforge.net/p/nasm/mailman/message/33074214 > >Emphasize proper NASM versions. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index d1a5b2c..7848c6b 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,10 @@ Starting with 1.47, changes marked with SYSLINUX, PXELINUX, ISOLINUX or EXTLINUX apply to that specific program only; other changes apply to all derivatives. +Changes in 6.04: + * NASM 2.11.08 or later is required to build + SYSLINUX from source. + Changes in 6.03: * chain: Fix chainloading on 6.02 (Raphael S. Carvalho). * core: Do not leak the __lowmem and __bss16 macros to modules; -- 2.4.3
> > Emphasize proper NASM versions. > > --- > NEWS | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/NEWS b/NEWS > index d1a5b2c..7848c6b 100644 > --- a/NEWS > +++ b/NEWS > @@ -2,6 +2,10 @@ Starting with 1.47, changes marked with SYSLINUX, PXELINUX, ISOLINUX > or EXTLINUX apply to that specific program only; other changes apply > to all derivatives. > > +Changes in 6.04: > + * NASM 2.11.08 or later is required to build > + SYSLINUX from source. > + > Changes in 6.03: > * chain: Fix chainloading on 6.02 (Raphael S. Carvalho). > * core: Do not leak the __lowmem and __bss16 macros to modules;1_ The NEWS file would not be an adequate place to post such information, for several reasons. 2_ Expressing the problem with NASM in such a way would be very inaccurate. The problem is in NASM 2.11.06, and only in that version. The problem is not in Syslinux, and many other versions of NASM (such as 2.11.05) have no problem. As I already said multiple times (not just in the Syslinux Mailing List), this kind of information develops according to various circumstances, at different times, from different sources, and with no control nor influence from The Syslinux Project. Therefore, the adequate place for accurate information of this kind is a "Building" wiki page. Regards, Ady.
On 06.03.2016 18:23, poma wrote:> On 06.03.2016 16:47, poma wrote: >> ... >>> nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ >>> -DHEXDATE="0x56dc3c62" \ >>> -Di386 \ >>> -I/tmp/syslinux-6.04-pre1/core/ \ >>> -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d /tmp/syslinux-6.04-pre1/core/ldlinux.asm >>> nasm -f elf -Ox -g -F dwarf -DDATE_STR="''" \ >>> -DHEXDATE="0x56dc3c62" \ >>> -Di386 \ >>> -I/tmp/syslinux-6.04-pre1/core/ \ >>> -l isolinux.lsr -o isolinux.o -MP -MD ./.isolinux.o.d /tmp/syslinux-6.04-pre1/core/isolinux.asm >>> diskstart.inc:438: error: symbol references not supported in preprocess-only mode >>> diskstart.inc:438: error: non-constant value given to `%if' >>> diskstart.inc:439: error: symbol references not supported in preprocess-only mode >>> diskstart.inc:439: error: non-constant value given to `%assign' >> ... >>> /tmp/syslinux-6.04-pre1/core/isolinux.asm:23: fatal: unable to open include file `head.inc' >>> /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'isolinux.o' failed >>> make[3]: *** [isolinux.o] Error 1 >>> make[3]: *** Waiting for unfinished jobs.... >>> /tmp/syslinux-6.04-pre1/core/ldlinux.asm:26: fatal: unable to open include file `head.inc' >>> /tmp/syslinux-6.04-pre1/core/Makefile:145: recipe for target 'ldlinux.o' failed >>> make[3]: *** [ldlinux.o] Error 1 >>> make[3]: Leaving directory '/tmp/syslinux-6.04-pre1/bios/core' >>> /tmp/syslinux-6.04-pre1/Makefile:287: recipe for target 'core' failed >>> make[2]: *** [core] Error 2 >>> make[2]: Leaving directory '/tmp/syslinux-6.04-pre1/bios' >>> /tmp/syslinux-6.04-pre1/Makefile:256: recipe for target 'bios' failed >>> make[1]: *** [bios] Error 2 >>> make[1]: Leaving directory '/tmp/syslinux-6.04-pre1' >>> Makefile:102: recipe for target 'all' failed >>> make: *** [all] Error 2 >> ... >>> $ nasm -version >>> NASM version 2.11.06 compiled on Feb 18 2015 >>> >> ... >> >> Builds OK with: >> $ nasm -version >> NASM version 2.11.08 compiled on Mar 6 2016 >> >> [Nasm-devel] Syslinux 6.03 build is broken by nasm upgrade 2.11.05 to 2.11.06 >> https://sourceforge.net/p/nasm/mailman/message/33074214 >> >>Actually this is sufficient as a solution, NASM version 2.11.06 patched with: "nasm: Fix -MD operating mode" http://repo.or.cz/nasm.git/commitdiff/0dd37af?hp=b2c3449 solves SYSLINUX build from source. https://bugzilla.redhat.com/show_bug.cgi?id=1315153