Alexey Orishko wrote:
Hi guys,

I've got a latest LFS SVN-20150208 built, but instead of grub I have
to use syslinux-6.03. I'm building a pure 64-bit system, so I can't
use 32-bit ELF extlinux provided in the package.

I'm not sure what you are talking about. We build GRUB all the time in LFS and that has not given me any problems on a 64-bit system. We have not had reports of grub problems in years.

Unfortunately building extlinux installer failed with NASM in BLFS
Version 2015-02-07, however I was able to build it successfully with
old BLFS-7.5 setup.

Nasm old version was 2.11.03 and the new one is 2.11.06 with quite a
lot of differences...

make bios clean
make bios  (failed)

...
nasm -f elf -Ox  -g -F dwarf -DDATE_STR="''" \
     -DHEXDATE="0x54d7efa1" \
     -Di386 \
     -I/sources/syslinux-6.03/core/ \
     -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d
/sources/syslinux-6.03/core/ldlinux.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'
/sources/syslinux-6.03/core/ldlinux.asm:26: fatal: unable to open
include file `head.inc'
/sources/syslinux-6.03/core/Makefile:156: recipe for target 'ldlinux.o' failed

When programs like nasm are updated, they sometimes make it more restrictive. It's been a long time since I did any significant assembly work, but -f elf says to output an elf32 file. I wouldn't think that would be appropriate on a 64-bit system.

-Ox means Multipass optimization, but that seems a contradiction for an assembly program.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to