[syslinux] The "core32" development branch
H. Peter Anvin
hpa at zytor.com
Sun May 17 17:05:23 PDT 2009
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.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list