[syslinux] The "core32" development branch

Sebastian Herbszt herbszt at gmx.de
Mon May 18 10:05:15 PDT 2009


H. Peter Anvin wrote:
> Sebastian Herbszt wrote:
>> H. Peter Anvin wrote:
>>> Sebastian Herbszt wrote:
>>>>
>>>> I am getting
>>>>
>>>> ld -m elf_i386  -T syslinux.ld -M -o ldlinux.elf ldlinux.o libcore.a
>>>> ../com32/lib/libcom32.a /usr/lib/gcc/i586-suse-linux/4.2.1/libgcc.a >
>>>> ldlinux.map
>>>> ld: ldlinux.o(.stab+0x0): Stabs entry has invalid string index.
>>>> ldlinux.o: could not read symbols: Bad value
>>>> make[1]: *** [ldlinux.elf] Error 1
>>>>
>>>
>>> What version of NASM are you using?
>> 
>> NASM version 0.98.39 compiled on Sep 21 2007
>> 
> 
> 0.98.39 is *really* old by now (the current official release is 2.05.01,
> with 2.06 on the near horizon.)  It's quite plausible 0.98.39 produces
> bad stabs which makes the linker unhappy.
> 
> I have moved the debugging options to a separate NASMDEBUG variable.  I
> guess it would entail figuring out which versions of NASM actually work.
> One possibility, too, would be to specify only -F stabs, newer NASM has
> that as implies -g, whereas older ones don't.

Works now with syslinux-3.81-pre3-31-gf482648. Thanks.

I don't mind making core32 require NASM > 2.x or something more recent
in case fixing the code to support older versions becomes painful.
Newer openSUSE ships NASM 2.x, so it's not a problem for _me_ to upgrade.
I am not sure about old RH / EL which Dag uses tho.

- Sebastian




More information about the Syslinux mailing list